Showing posts with label cleartool find. Show all posts
Showing posts with label cleartool find. Show all posts

Tuesday, May 6, 2008

Search for latest version of branch type

To search latest version number for specific branch type:

cleartool find /vobs/vobname -branch "brtype(branchtypename)" -version "version(.../branchtypename/LATEST)" -print tee brantypelist.txt

The example result will be:

/vobs/vobname/filename1@@/main/branchtypename/3

/vobs/vobname/filename2@@/main/branchtypename/2

/vobs/vobname/filename3@@/main/branchtypename/6

Thursday, July 19, 2007

Find Existing Label Type in VOB

To detect or verify the existent of label type in VOB:

cleartool lstype -kind lbtype -short -invob /vobs/vobname grep labeltypename

If the command above return NULL or blank, this mean this label type is not existed.
If return value, the "labeltypename" will be shown and also indicate the label type is locked or not.