How to list all the files changed by a perforce change list

前端 未结 5 1643
陌清茗
陌清茗 2020-12-14 15:21

I have a specific change list, and from the command line I want to list all files that were a part of that change list. How do I do this?

5条回答
  •  情话喂你
    2020-12-14 16:18

    That's the describe command. To describe a particular changelist, you want p4 describe .

    Update:

    If you only want the file names, you can use the files command with the -F option to override the output format: p4 -Ztag -F "%depotFile%" files @=

    See http://www.perforce.com/blog/130826/fun-formatting for more information about the -F option.

提交回复
热议问题