如何仅列出基线名称和UCM ClearCase中特定组件的流名称 [英] how to list only the name of the baselines and name of the stream from particular component in UCM ClearCase
本文介绍了如何仅列出基线名称和UCM ClearCase中特定组件的流名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么办法可以列出来自特定组件的所有基线的所有基线名称和流名称?
Is there any way that I can list all baselines' name and stream name for those baselines from a particular component?
推荐答案
基本命令为 cleartool lsbl
:
The basic command would be cleartool lsbl
:
cleartool lsbl -comp aComponent@\aPVob
然后可以使用 fmt_ccase
显示流以及基线。
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
类似的命令将是:
cleartool lsbl -tree -comp aComponent@\aPVob
(以查看流及其在UCM项目中的位置。)
(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
这篇关于如何仅列出基线名称和UCM ClearCase中特定组件的流名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文