Domanda

I have a list of changelists to be merged from the trunk to branch.

Is there a way to automate integrating multiple changelists in perforce ?

È stato utile?

Soluzione

You can integrate a single change by doing:

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

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

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

It should be easy for you to write a script that loops over a list of change numbers and executes the appropriate p4 integrate command for each one.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top