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