Can't Create Directory Element With Multi-Branching in Base ClearCase

断了今生、忘了曾经 提交于 2019-11-28 06:09:56

问题


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

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).

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.

Why is this occurring?

Thanks, Dave


回答1:


Those selection rules are for elements inside DCT, not for DCT itself.

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

That is called a "config stop-rule", as illustrated in "ClearCase Branching using configspec".



来源:https://stackoverflow.com/questions/14715049/cant-create-directory-element-with-multi-branching-in-base-clearcase

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