Clearcase error adding file

后端 未结 1 648
眼角桃花
眼角桃花 2021-01-16 06:18

I cannot add a new file to the VOB. I tried both UI context menu on windows as well as cleartool command line utility.

cleartool> checkout .
Checkout comm         


        
1条回答
  •  一生所求
    2021-01-16 07:06

    As mentioned in this thread (and already commented):

    You'll need a rule that selects /main/0 or /main/LATEST

    /main/0 is the placeholder version created for any new element added to source control.
    See for instance "how to create a branch in ClearCase" or "How best to branch in Clearcase?" for an example of a config spec allowing to add to source control in a branch.

    element * CHECKEDOUT 
    element * .../aBranch/LATEST  
    element * STARTING_LABEL -mkbranch aBranch 
    # selection rule for new "added to source control" file
    element * /main/0 -mkbranch aBranch 
    element * /main/LATEST
    

    0 讨论(0)
提交回复
热议问题