Getting error while check out the file

独自空忆成欢 提交于 2019-12-11 10:57:48

问题


Actually i created a view, branch and set the config secs for that view. Its allowing to checkout the already existed files, but it does not allow to checkout the newly created files. its allow to create new elements by using "mkelem" command, but it does not allow to checkout that newly created file.


回答1:


For newly created file, you should see a rule like:

element * /main/0 -mkbranch newBrach

See for illustration "Config spec rules for elements in subbranches":

element * CHECKEDOUT
element * .../bug-fix/LATEST
element * BASELINE-X -mkbranch bug-fix
element * /main/0 -mkbranch bug-fix 

Rule 4 (fourth line) determines that when a new element is created, the mkbranch clause causes the new element to be checked out on the bug-fix subbranch which is created automatically with the mkbranch command.
Also, if an existing element does not have a bug-fix branch or a version with the BASELINE-X label, the bug-fix branch is created when you check out the element.

So examine your config spec, and check if that /main/0 -mkbranch is there:

cleartool catcs -tag yourViewTag

See "why I only get a clearcase version 0?" for more on that "version 0", when an element is created.



来源:https://stackoverflow.com/questions/13415288/getting-error-while-check-out-the-file

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