Permalink
Browse files
Add --last option to restore action
Since migrate upgrades the port command, it can't be used to continue restoring the state which needs the newly installed port command. Thus, broken into two stages asking the user to run `port restore --last` immediately after migrate. Also, add option to select a snapshot interactively on running `port restore` which deactivates the currently active ports and installs/activates the ports from selected snapshot.
- Loading branch information
Showing
with
90 additions
and 30 deletions.
- +3 −3 src/cregistry/snapshot.c
- +1 −1 src/cregistry/snapshot.h
- +7 −9 src/macports1.0/migrate.tcl
- +37 −14 src/macports1.0/restore.tcl
- +6 −2 src/port/port.tcl
- +36 −1 src/registry2.0/snapshot.c