Integration of multiple change lists in perforce

I have a list of change lists that should be merged from trunk to branch.

Is there a way to automate the integration of multiple change lists in perforce?

+4
source share
1 answer

You can integrate one change by doing:

p4 integrate //depot/source/ ...@CLN1 ,CLN1 //depot/destination/... 

And then you can integrate additional changes on top of this before submitting:

 p4 integrate //depot/source/ ...@CLN2 ,CLN2 //depot/destination/... p4 integrate //depot/source/ ...@CLN3 ,CLN3 //depot/destination/... 

It will be easy for you to write a script that iterates over the list of change numbers and executes the corresponding p4 integrate command for each of them.

+9
source

Source: https://habr.com/ru/post/1490970/


All Articles