Examples in using config spec in ClearCase

来源:互联网 发布:优酷网络电影数据分析 编辑:程序博客网 时间:2024/05/21 06:58

Just show some examples when using config spec, will have it updated with more examples soon:


Checkout the latest on branch Rebecca and then make yourownbranch:

element * CHECKEDOUT

element * .../rebecca/LATEST

element * /main/LATEST –mkbranch yourownbranch

 

Get the txt file which is using 1 version:

element * CHECKEDOUT

element -file test3.txt /main/1

element * /main/LATEST


checkout out some specific version of a file:

element * CHECKEDOUT

element /rebecca_TestingBase_VOB/test1.txt /main/1 #get the first version of test1.txt under VOB: rebecca_TestingBase_VOB

element /rebecca_TestingBase_VOB/test3.txt /main/4

element /rebecca_TestingBase_VOB/... /main/LATEST # for the other files, get the latest version

 

checkout the specific version based on a LABEL:

element * CHECKEDOUT

element /rebecca_TestingBase_VOB/... TestingBase_label2  

element /rebecca_TestingBase_VOB/test3.txtTestingBase_label1 #Checkout the file which is belonged to different label

element /rebecca_TestingBase_VOB/... /main/LATEST


0 0
原创粉丝点击