Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.



ClearCase Support: How to Delete Labels and Label Types


Here is the command to delete a label.

cleartool rmlabel –nc LABEL_NAME ELEMENT_NAME


For instance, if you wanted to delete the "label_test" label on the file "/vob/test/a.txt", then here is the command.

$ cleartool rmlabel –nc label_test /vob/test/a.txt

Alternatively, here is the command to delete an entire label type. In other words, you wanted to delete all the labels with a certain label name as well as deleting the label name.

cleartool rmtype –rmall –force lbtype:LABEL_TYPE_NAME

Keep in mind, this will delete the label type in only one VOB at a time, so you have to run this command once in each VOB that you want the label type deleted.

by Phil for Humanity
on 20081112

Related Articles
 » ClearCase Support: How to Delete Branches and Branch Types
 » ClearCase Support: How to Lock a Label
 » ClearCase Support: Finding Label and Branch Types