Perforce, How to integrate a change to another branch?

前端 未结 2 612
鱼传尺愫
鱼传尺愫 2021-02-05 13:28

I have trunk and a release branch. If I fixed a bug in release branch, I definitely should integrate the fix back to trunk. However, I didn\'t find a command dedicated to integ

2条回答
  •  梦如初夏
    2021-02-05 14:06

    To integrate changelist 100, for example, you'd use:

    p4 merge //releasebranch/...@=100 //trunk/...
    p4 resolve
    p4 submit
    

    (If you have an older Perforce server you'll have to use 'integ' instead of 'merge'.)

    Note that '@=100' means the same thing as '@100,100' in this context.

提交回复
热议问题