6

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?

raven
  • 18,004
  • 16
  • 81
  • 112
ynka
  • 1,457
  • 1
  • 11
  • 27

1 Answers1

3

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.

randy-wandisco
  • 3,649
  • 16
  • 11
  • 1
    p4 interchanges -l -b BranchMapping / p4 interchanges -l -r -b BranchMapping was what I needed (-l to get the full description). Thx. – ynka May 02 '13 at 17:58