Create label with clearcase

三世轮回 提交于 2019-12-05 20:07:20
VonC

It should

cd /path/to/your/vob
cleartool mklbtype -global -nc MY_LABEL_NAME

I don't see a -vob option in cleartool mklbtype (and anyway it should be with -vob \MyVOBName, not -vob MyVOBName: you must use the vob tag \MyVobName).

You can use:

cleartool mklbtype -global -nc lbtype:MyLabel@\MyVobName

That last one can be executed from anywhere.

Creating the lbtype globally is useful to share it amongst Vob: see "Sharing branches and labels between 2 VoB Clearcase".


Note that it creates a label type, it doesn't label.
For that, you need to go into a view and type (using cleartool mklabel):

cleartool mklabel -rec -nc MyLabel .

See another example at "What is the difference between clearcase and vss in label a release?".

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