Is there any way that I can list all baselines' name and stream name for those baselines from a particular component?
Asked
Active
Viewed 93 times
1 Answers
0
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

VonC
- 1,262,500
- 529
- 4,410
- 5,250
-
Thanks for the answer. I have to list about 50 baselines and its associated stream in a component. I am not sure what you meant by [bl_stream]Xp\n. – user_new Oct 16 '13 at 05:32
-
@knm that would display the name of the stream where the baseline has been created, as documented at http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m1/index.jsp?topic=/com.ibm.rational.clearcase.cc_ref.doc/topics/fmt_ccase.htm. That way, you list both baseline *and* stream for a given component. – VonC Oct 16 '13 at 05:45