I need to apply a label on a set of two or more labels that are already created using cleartool. I know how to create and apply a label using cleartool and have studied mklabel command. But couldn't find any provision to apply a label over multiple labels. Can anyone please provide solution for the same??
相关问题
- How to restrict VOB read access in ClearCase (Wind
- How to add a actionListener to a label in JavaFx
- Bold labels in MFC
- Symfony Forms - How to Change a CollectionTypes It
- error:undefined label, how to use label statement
相关文章
- Xcode doesn't recognize NSLabel
- How to add main title and manipulating axis labels
- Plotly assigning colors based on label
- Provide version to independent files in clearcase
- How to undo checkout a file checked out from anoth
- Getting present working view in Clearcase
- What is the nature of a “MVFS filesystem” with Cle
- How to list only the name of the baselines in UCM
You could try and find all the relevant versions (the ones with the right labels) and perform a
mklabel
.cleartool find can be combined with an exec directive including a mklabel.
The tricks though are:
you need to list your labels from the oldest to the newest (here
LBL2
must be created more recently thanLBL1
) because you canmklabel
only one version per file: if a file has two different versions each labeled with one of your label, you want to end up with your new label on the most recent one. Hence the order in the find query.you need the '
-replace
' option of themklabel
, because again, if two versions are found, the firstmklabel
will work, the second won't unless the-replace
instructs it to moveNEW_LBL
to the second version.