无法在基本ClearCase中创建具有多分支的目录元素 [英] Can't Create Directory Element With Multi-Branching in Base ClearCase
问题描述
我正在使用基本的ClearCase。请考虑我的配置规范:
I am workng with base ClearCase. Please consider my config spec:
element * CHECKEDOUT
element /cl5_sw_ste/DCT/*/... /main/rel_drop5/int_drop5/cl5_p65719_AUTE/LATEST
element /cl5_sw_ste/DCT/*/... /main/rel_drop5/int_drop5/LATEST -mkbranch cl5_p65719_AUTE
element /cl5_sw_ste/DCT/*/... /main/rel_drop5/LATEST -mkbranch int_drop5
element /cl5_sw_ste/DCT/*/... /main/0 -mkbranch rel_drop5
要点:现有元素的所有签出都会自动在分支 / main / rel_drop5 / int_drop5 / cl5_p65719_AUTE
和
INTENT: Any checkout of existing elements automatically occurs on branch /main/rel_drop5/int_drop5/cl5_p65719_AUTE
and that this branching scheme is used automatically for the creation of any new elements (of which I presently have none).
当我在ClearCase Explorer中导航到VOB cl5_sw_ste的根目录时,该分支方案将自动用于创建任何新元素(目前我还没有这些元素)。 ,从右窗格的上下文菜单中选择新建->文件夹,然后尝试创建我的第一个元素---目录元素DCT ---,我收到以下错误:
When I navigate to the root of VOB cl5_sw_ste in ClearCase Explorer, select New--> Folder from the right pane's context menu, and try to create my first element---directory element DCT---, I receive the following error:
The system cannot find the file specified.
为什么会这样?
谢谢,
Dave
Thanks, Dave
推荐答案
这些选择规则适用于元素 inside DCT
,而不是 DCT
本身。
Those selection rules are for elements inside DCT
, not for DCT
itself.
添加 DCT
,它将在 / main / 0
中创建一个版本。
而且您的规则都没有选择 / main / 0
。
When you are adding DCT
, it creates a version in /main/0
.
And none of your rules selects /main/0
.
您应该至少在最后添加一个选择规则:
you should add least add one selection rule at the end:
element * /main/LATEST
这称为配置停止规则,如 使用ClearCase进行分支configspec 。
That is called a "config stop-rule", as illustrated in "ClearCase Branching using configspec".
这篇关于无法在基本ClearCase中创建具有多分支的目录元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!