I have applied baseline for a component via cleartool. (we are using clearcase UCM).
I mistakenly put the wrong baseline name and i am unable to apply another one as it says no changes were done.
How to rename the baseline name in UCM ? (I tried via GUI but not finding a way).
If cleartool rmname can be used, can some one put an example how to do that? i did not find one
As mentioned in “Renaming a Baseline does not change the label type name“, you can rename a baseline through the CLI) but you need to rename the assiciated lbtype as well, for ClearCase 7.0 and before (7.1 and 8, you can just rename the baseline, it should take care of the lbtype. If not, see below).
Check if the lbtype is renamed by doing a:
cleartool descr -l baseline:<new baseline name>@\<component vob tag>.In short, it is possible but not trivial to rename a baseline for CC7.0 and before: it is an UCM object which is assosiated (through an hyperlink) to the lbtype used to create the label on all the elements which have changed (incremental baseline), or all the elements of the component (even those which haven’t changed since the last baseline: full baseline, see “What is the difference between Full baseline and Incremental baseline in Clearcase UCM?“)
You need to rename both (baseline and
lbtype).It is an acceptable practice since its content doesn’t change.
However, you would need to propagate and communicate the new baseline name along your release management process.