문제

I am trying to take all our recent code from our development branch to release branch upto a certain changelist (say CL no. 1234). How can I achieve that?

I know that I can do p4 describe 1234 to see the timestamp and then do p4 integ //path/to/dev/branch/...@timestamp //path/to/release/branch/.... But is there a more elegant way of doing this?

도움이 되었습니까?

해결책

Integrate your dev branch (source) into your release branch (target) at a changelist, rather than integrating using a timestamp. Since you want to integrate up through CL 1234, you should run the following command:

p4 integrate //path/to/dev/branch/...@1234 //path/to/release/branch/...

This integrates the dev branch (all files in the state they were in after CL 1234 was submitted) into the release branch.

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