问题
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