Examples in using config spec in ClearCase

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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章