I am working with "my" Perforce branch, fixing some small issues in the code. Every now and then I am integrating with another branch ("main").
I write extensive changelist descriptions each time I commit to "my" branch. When I integrate, I would like to have the merging ("my->main") changelist description be a sum of descriptions I wrote for all the changelists in "my" branch since the last merge.
Is this possible?
Description. Using the client workspace as a staging area, the p4 copy command propagates an exact copy of the source files to the specified target by branching, replacing, or deleting files. No manual resolve is required. Changes in the target that were not previously merged into the source are overwritten.
p4 describe displays the details of one or more changelists. For each changelist, the output includes the changelist number, the changelist creator, the client workspace name, the date the changelist was created, and the changelist description. This command also works with openable stream specifications.
With a little bit of scripting it should be easy. You can use p4 interchanges
to get a list of all pending changelists that will be merged, extract the description from each, and use it as the changelist description when you submit the merge.
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