检出文件时出现错误 [英] Getting error while check out the file
问题描述
实际上我创建了一个视图,分支并为该视图设置了配置秒数。
它允许签出已经存在的文件,但不允许签出新创建的文件。它允许使用 mkelem命令创建新元素,但不允许签出该新创建的文件。
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.
推荐答案
对于新创建的文件,您应该看到如下规则:
For newly created file, you should see a rule like:
element * /main/0 -mkbranch newBrach
请查看插图 为子分支中的元素配置规范规则:
element * CHECKEDOUT
element * .../bug-fix/LATEST
element * BASELINE-X -mkbranch bug-fix
element * /main/0 -mkbranch bug-fix
规则4(第四行)确定在创建新元素时,
mkbranch
子句使新元素在通过<$ c自动创建的错误修复子分支中检出。 $ c> mkbranch 命令。
另外,如果现有元素没有错误修复分支或带有BASELINE-X
标签的版本,则签出元素时会创建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.
因此检查您的配置规格,并检查是否存在 / main / 0 -mkbranch
:
So examine your config spec, and check if that /main/0 -mkbranch
is there:
cleartool catcs -tag yourViewTag
请参见 为什么我只得到一个clearcase版本0? ,则在创建元素时。
See "why I only get a clearcase version 0?" for more on that "version 0", when an element is created.
这篇关于检出文件时出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!