I am trying to take all our recent code from our development branch to release branch upto a certain changelist (say CL no. 1234). How can I achieve that?
I know that I can do p4 describe 1234
to see the timestamp and then do p4 integ //path/to/dev/branch/...@timestamp //path/to/release/branch/...
. But is there a more elegant way of doing this?
Integrate your dev branch (source) into your release branch (target) at a changelist, rather than integrating using a timestamp. Since you want to integrate up through CL 1234, you should run the following command:
p4 integrate //path/to/dev/branch/...@1234 //path/to/release/branch/...
This integrates the dev branch (all files in the state they were in after CL 1234 was submitted) into the release branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With