Hi All,
Is there any way to find a specific UCM baseline applied to the change sets in an UCM activity without parsing the change set files?
Cheers, Jose
Answer by pagosselink (31) | Nov 18, 2015 at 10:09 AM
As activities can be reused after a baseline has been created, there is not an easy answer to this. Also, activities can contain versions of elements from multiple components, but a baseline is for 1 component only.
The 'diffbl' can be used to find out what the difference is between baselines. You could list activities and/or versions (depending on what you are looking for).
Can you elaborate on what you are looking for?
Answer by pagosselink (31) | Nov 19, 2015 at 10:22 AM
You could run cleartool lsbl -l -stream and see of the activity is mentioned in the output. As it will list all baselines for all components in this stream the activity might show up multiple times (or not at all)
Given that the question is about "a specific UCM baseline", you could just 'cleartool lsbl -long baseline-selector' or replace '-long' with ' -fmt "%[activities]CXp" '
I'll put the comment here also that the original question says "the change sets in an UCM activity" which seems incorrect use of the UCM terminology. The correct use is implied by "the change set files". [Every activity has exactly one change set, which consists of zero or more (file/directory) versions.]
So if your concern, Jose, is at the the file version level, then P.A.Gosselink's first answer (diffbl) is more appropriate.
Answer by thalapathi (1) | Nov 18, 2015 at 02:18 PM
Hi ,
Thanks for your update. I need to find whether the baseline exists on the change sets. Based on that I will modify some field on the activity and it will be used in the release notes. Is there any way to find the baseline using any clear tool commands.
Cheers, Jose
Do you apply DevOps using Jenkins? 0 Answers
[ClearCase] How to visually track history of code lines and determine who checked them in? 0 Answers
ClearCase ClearQuest users: end-of-year discount for all our add-on tools 0 Answers
Running a build in Linux gives an error 'cleartext close failed' and the build halts 2 Answers
How to monitor ClearCase ClearQuest resources and infrastructures? 0 Answers