Perforce: How do I p4 integrate a local uncommitted changelist?
perforce
Solution
Perforce has a much easier way of accomplishing this:
Shelve your changelist on branchA (note the changelist #, we'll call it NUM for reference here)
Create a branch mapping between branchA and branchB (we'll call it A_to_B)
Run the following command:
p4 unshelve -s NUM -b A_to_B
Problem
Here's my scenario: I have two projects projectA and projectB. A branchspec auto-integrates projectA to projectB. Now, I have a changelist which modifies some files in projectA -- I have not committed/submitted this changelist yet. I'd like this changelist to go into projectB only. Doing a p4 integrate -b branchspec -c changelistNumber shows "All revision(s) are integrated." How can I integrate an uncommitted changelist?