问题
I'm tring to apply a personal label on a file in clearcase vob. I've used the command:
cleartool mklabel MY_LABEL TestFile.txt@@\main\1
End the result is:
cleartool: Error: label type "MY_LABEL" not found in VOB "\TEST_vob" and no global type defin cleartool: Error: Unable to create label "MY_LABEL" on "TestFile.txt" version "\main\1".
I execute the command from command line in the same level of the file. Am I using the command incorrectly, or is the command locked by a CC admin?
回答1:
You should create the label type first using the cleartool mklbtype command
M:\myView\TEST_vob\aFolder> cleartool mklbtype -nc MY_LABEL
Created label type 'MY_LABEL'.
Then try your mklabel
command again.
来源:https://stackoverflow.com/questions/48707079/how-to-apply-a-private-label-with-mklabel-celearcase-command