如何要求cleartool lsvtree显示作者的名字 [英] How to ask cleartool lsvtree to show the author's name
本文介绍了如何要求cleartool lsvtree显示作者的名字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何列出包括每个更改的作者在内的ClearCase版本?
How to list the ClearCase versions including the author of each change ?
我尝试了 lsvtree -all
其中没有给我这些信息。
I tried lsvtree -all
which doesn't give me this information.
推荐答案
检查 fmt_ccase
,包括 %n%u
:%u
Check the different options available with fmt_ccase
, include "%n %u
": %u
is for user.
文档中提到:
注意:在命令中在多个版本上输出数据,例如
lshistory
和lsvtree
的格式适用于每个版本,而不是命令整体输出。
Note: In commands that output data on multiple versions, such as
lshistory
andlsvtree
, formatting is applied to each version, not to the command output as a whole.
但是,由于 lsvtree
不支持 fmt
,您可以后退到 lshistory
:
However, since lsvtree
doesn't support fmt
, you can fallback to lshistory
:
cleartool lshistory -fmt "%n %u\n" afile
这篇关于如何要求cleartool lsvtree显示作者的名字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文