How to apply a private label with mklabel celearcase command?

狂风中的少年 提交于 2019-12-23 01:52:52

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!