Reputation: 323
I have two branches in Perforce, one is branchA another is branchB, in branchA I have a changelist contains several files, now I want to unshelve it to branchB, I use the following steps:
But it throws the error "No such file(s)." How to solve this issue?
Upvotes: 1
Views: 6506
Reputation: 17345
You have to run the following commands:
- p4 unshelve -s change_list_number -b your_destination_branch
- p4 resolve ...
The first one bring the changes and the second one resolved any conflict
Upvotes: 2
Reputation: 1696
Yes, a couple of releases ago (2014.1?) the ability to unshelve to another branch was introduced. From the shelved changelist, select Unshelve then select the Map unshelved files option (using Branch Mapping). Of course, this assumes you have a Branch Mapping spec set up.
Upvotes: 0