Basic Install: -------------- 1) Install this 'p4' into your HOME/bin directory (assuming that is in your PATH) 2) Edit this 'p4' to specify your platform if different from darwin90x86_64, see ftp.perforce.com/perforce/r14.1 for possible platforms 3) Make 'p4' executable: chmod a+x $HOME/p4 4) Check to make sure this is the 'p4' that you're using: which p4 Alternative Install: -------------------- Put this 'p4' in some directory FOO alias p4="FOO/p4 " Then you can run 'p4' and use this script or run '\p4' and use the raw p4 Available commands: ------------------- p4 init {directory} Create a Perforce storage structure in the current or specified sub-directory When in a Perforce storage structure: p4 switch {branchName} Switch to specified branch or report current Check for pending work and do something p4 branch {newBranchName} Create new branch or report current Check for pending work and do something Switches to new branch p4 branches List the defined branches p4 branchspecs List out the branchspecs p4 branchspec FROM-TO Define how to merge between two branches Only needed if branches use multi-line views p4 mergefrom BRANCHNAME Run integ from named branch into current one Uses branchspec BRANCH1-BRANCH2 if it exists Otherwise //branches/FROM/... //branches/CUR/... Then runs 'p4 resolve -am' Note: This is not a supported Perforce product or tool. You're on your own when using this wrapper. Note: There are no guardrails! Use identifiers for branch names for best results.