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



ClearCase Support: Finding Label and Branch Types


If you need to get a list of label types that exist in a VOB, you can run this command:

cleartool lstype -kind lbtype -invob VOB_NAME

You can also add the "-long" argument to the command for additional information about each label type. You can even use the "-short" argument for even less information. Keep in mind that just because a label type exists, this does not mean the label has been applied to any elements, files, or directories.

Alternatively, if you want to get a list of all branch types that exist in a VOB, you can run this similar command:

cleartool lstype -long -kind brtype -invob VOB_NAME

Again, just because a branch type exists, this does not mean that a branch exists with that branch type name.

by Phil for Humanity
on 20080711

Related Articles
 » ClearCase Support: Renaming Label and Branch Types
 » ClearCase Support: How to Lock a Branch
 » ClearCase Support: How to Lock a Label