how to list only the name of the baselines and name of the stream from particular component in UCM ClearCase

只愿长相守 提交于 2019-12-08 07:24:22

问题


Is there any way that I can list all baselines' name and stream name for those baselines from a particular component?


回答1:


The basic command would be cleartool lsbl:

cleartool lsbl -comp aComponent@\aPVob

You can then use fmt_ccase to display the stream as well as the baseline.

cleartool lsbl -fmt "%n %[bl_stream]Xp\n" -comp aComponent@\aPVob

A similar command would be:

cleartool lsbl -tree -comp aComponent@\aPVob 

(to see the stream, and its location within the UCM project).

If that doesn't work, you can, for each baseline returned by the first command, do a:

cleartool descr -fmt "%n %[bl_stream]Xp\n" aBaseline@\aPVob


来源:https://stackoverflow.com/questions/19394103/how-to-list-only-the-name-of-the-baselines-and-name-of-the-stream-from-particula

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