Perforce — move a shelved Changelist from main to branch?
Solution 1
Starting with Perforce 2013.1, you can shelve a file in one branch and unshelve it into another, using a branch spec or stream as the mapping.
Here is the documentation which describes the new -b
and -S
options.
Solution 2
I believe that you can right-click on an edited file and choose Rename/Move...
.
If that does not work, you'll probably have to use the command line and do p4 move -f old_file new_file
and move to another branch.
Note: For what it's worth, this works for branches but not streams.
Martin Schulze
Updated on June 24, 2022Comments
-
Martin Schulze about 2 years
I wonder if there is any way to move a Changelist which was created editing on /main/ to a branch /dev/branch?
I have six such Changelists with a lot of files in them. I shelved all files and would like to move them to the branch to keep working there. I would prefer to do this directly in P4V, if possible.
I'm using P4V 2011.1 with the 2010.2 P4 server.