Perforce:如何获取CL描述列表

时间:2014-12-11 14:17:52

标签: perforce

我正在准备一份基于CL在特定时期内提交的报告(例如:从2014年1月11日到2014年11月30日)。

有没有什么方法可以在那段时间内获得Excel中CL的CL-描述列表?

我尝试使用" p4更改" perforce命令,但这只给我提交的更改列表。我想要CL描述。

2 个答案:

答案 0 :(得分:0)

指定'-l'标志:

p4 changes -l //...@2014/01/11,@2014/11/30

来自'p4 help changes':

The -l flag displays the full text of the changelist
descriptions.

The -L flag displays the changelist descriptions, truncated to 250
characters if longer.

因此,如果您不想要完整的更改列表描述,只需要简短描述,则可以使用-L而不是-l。

答案 1 :(得分:0)

一个小的修正。由于您需要提交的更改列表,请使用-s标志:

p4 changes -l -s submitted //...@2014/01/11,@2014/11/30 

这样您就可以获得状态为“已提交”的变更列表。