How can I list P4 changes since a specific changelist

后端 未结 3 576
清歌不尽
清歌不尽 2021-02-05 10:48

Is there a way get the list of changelists after a particular changelist for a particular branch?

p4 changes (some flag ?) (CL#) //depot/project
3条回答
  •  无人及你
    2021-02-05 11:29

    If you're into Perforce Integration, and you need to get the next CL to Integrate (the CL right after the last one you've integrated, say @12345), try this:

    p4 changes "//depot/branches/branch_name/...@>12345" | tail -1 | cut -d ' ' -f 2
    

提交回复
热议问题