How to ask cleartool lsvtree to show the author's name

落花浮王杯 提交于 2019-12-23 01:13:06

问题


How to list the ClearCase versions including the author of each change ?

I tried lsvtree -all which doesn't give me this information.


回答1:


Check the different options available with fmt_ccase, include "%n %u": %u is for user.

The doc mentions:

Note: In commands that output data on multiple versions, such as lshistory and lsvtree, formatting is applied to each version, not to the command output as a whole.

However, since lsvtree doesn't support fmt, you can fallback to lshistory:

cleartool lshistory -fmt "%n %u\n" afile


来源:https://stackoverflow.com/questions/28943924/how-to-ask-cleartool-lsvtree-to-show-the-authors-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!