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

No comments: