P4 Shelve

Usage
Usage: p4_shelve [options] Shelves a changelist for later editing. Shelving a changelist will create a branch of the files in the current changelist and move all the changes to that branch. It will then revert the files in the current changelist while preserving any changes in the branch. Use 'p4_unshelve' to restore a shelved changelist. Options: -h, --help        Prints this help message -v, --verbose     Prints verbose messages while shelving -p, --port        Perforce Port depot is on   -c, --client       Perforce Client that maps the depot files -u, --user        Perforce User that owns the client -P, --password    Perforce Password for the user -e, --changelist  Perforce Change List ID to shelve -s, --shelfroot   Depot path where the shelved files should go. Note: Uses the default P4 settings for Perforce options not supplied.

Usage: p4_unshelve [options] Restores a shelved changelist into the default changelist for editing. Perforce branchspec created by p4_shelve. Options: -h, --help        Prints this help message -p, --port        Perforce Port depot is on   -c, --client       Perforce Client that maps the depot files -u, --user        Perforce User that owns the client -P, --password    Perforce Password for the user Note: Uses the default P4 settings for Perforce options not supplied.

License
#
 * 1)   Copyright 2005, Chris Stoy.  All Rights Reserved.
 * 1)   License:
 * 2)   This file and any derivatives or translations of it may be freely
 * 3)   copied and redistributed so long as:
 * 4)       1) This license and copyright notice are not changed.
 * 5)       2) Any fixes or enhancements are reported back to either the
 * 6)           author (cstoy@nc.rr.com).
 * 7)   and any of:
 * 8)       a) The source is redistributed with it.
 * 9)       b) The source is compiled unmodified, and instructions for finding
 * 10)           the original source are included.
 * 11)       c) The source is made available by some other means.