How to list only the name of the baselines in UCM ClearCase?
If I do: cleartool lsbl -stream stream:mystream@\mypvob That will lists the baselines with details. But I want to list only the name of the baselines. Is there anyway I can do that? You can use the fmt_ccase options in order to format the result of a cleartool lsbl command . cleartool lsbl -fmt "%n\n" -stream stream:mystream@\mypvob Here two examples in python, found on snip2code.com 1) Get the foundation baseline of a stream import os working_stream = "myStream" pvob = "MyVobs" foundation_bl = os.popen("cleartool descr -fmt \"%[found_bls]CXp\" stream:" + working_stream + "@" + pvob).readlines