检出文件时出现错误 [英] Getting error while check out the file

查看:87
本文介绍了检出文件时出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

实际上我创建了一个视图,分支并为该视图设置了配置秒数。
它允许签出已经存在的文件,但不允许签出新创建的文件。它允许使用 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 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.

因此检查您的配置规格,并检查是否存在 / 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆