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 themkbranch
command.
Also, if an existing element does not have a bug-fix branch or a version with theBASELINE-X
label, thebug-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.