软件开发领域都关心。
分类: LINUX
2007-08-09 15:34:47
a .Create branches branch_name1 from /main/0, merge them from other branch branch_name2
clt find . -version 'version(.../main/0)' -print -exec 'cleartool mkbranch -nc -version /main/0 branch_name1 $CLEARCASE_PN;cleartool merge -to $CLEARCASE_PN -version /main/branch_name2/LATEST'
b. check in all the checkedout elements
clt lsco -cview -recurse -short .|xargs cleartool ci -nc
c. label the last version of branch branch_name
clt find . -version 'version(/main/brach_name/LATEST)' -print -exec 'cleartool mklabel -nc LABEL_NAME $CLEARCASE_PN'
use this command to check whether all the files are labeld:
clt find . -version 'version(/main/brach_name/LATEST) &&! lbtype(LABEL_NAME)' -print