문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top