如何列出由 perforce 更改列表更改的所有文件 [英] How to list all the files changed by a perforce change list
问题描述
我有一个特定的更改列表,我想从命令行列出属于该更改列表的所有文件.我该怎么做?
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?
推荐答案
这就是 描述 命令.要描述特定的变更列表,您需要 p4 describe
.
That's the describe command. To describe a particular changelist, you want p4 describe <changelist number>
.
更新:
如果你只想要文件名,你可以使用 带有 -F 选项的 files 命令覆盖输出格式:p4 -Ztag -F "%depotFile%" files @=<changelist>
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 @=<changelist>
参见 http://www.perforce.com/blog/130826/fun-formatting 有关 -F 选项的更多信息.
See http://www.perforce.com/blog/130826/fun-formatting for more information about the -F option.
这篇关于如何列出由 perforce 更改列表更改的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!