2013-02-05 32 views
2

我有以下的配置規格:無目錄元素版本選擇

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 
element * /main/0 

此配置規格並不讓我看到生活在VOB cl5_sw_ste的根命名爲DCT目錄元素。 DCT具有以下版本樹:

cl5_sw_ste/[email protected]@\main 
cl5_sw_ste/[email protected]@\main\0 
cl5_sw_ste/[email protected]@\main\rel_drop5 
cl5_sw_ste/[email protected]@\main\rel_drop5\0 
cl5_sw_ste/[email protected]@\main\rel_drop5\int_drop5 
cl5_sw_ste/[email protected]@\main\rel_drop5\int_drop5\0 
cl5_sw_ste/[email protected]@\main\rel_drop5\int_drop5\cl5_p65719_AUTE 
cl5_sw_ste/[email protected]@\main\rel_drop5\int_drop5\cl5_p65719_AUTE\0 
cl5_sw_ste/[email protected]@\main\rel_drop5\int_drop5\cl5_p65719_AUTE\1 

我本來以爲配置規範規則:

element /cl5_sw_ste/DCT/... /main/rel_drop5/int_drop5/cl5_p65719_AUTE/LATEST 

本來選擇:

cl5_sw_ste/[email protected]@\main\rel_drop5\int_drop5\cl5_p65719_AUTE\1 

但是,沒有版本選擇。我究竟做錯了什麼?

謝謝, 戴夫

回答

2

您需要檢查選擇什麼目錄DCT的版本,這是VOB cl5_sw_ste

如果它是/main/0,那麼這是正常的:這個is a placeholder它將不包含子元素。
這意味着什麼什麼根據沃布cl5_sw_ste將被選中,也不可見。

你的最後一個規則應該是:

element * /main/LATEST 

這將使選擇VOB cl5_sw_ste至少/main/1,它應該包含目錄DCT
這就是爲什麼我在你上一個問題「Can't Create Directory Element With Multi-Branching in Base ClearCase」中提到這個停止規則的原因。

+0

我們的項目策略要求所有元素(包括cl5_sw_ste)從/ main/0分支。/main中不允許0以外的版本。我的「元素* /主/ 0」規則失敗了,因爲當我添加目錄元素DCT時,我錯誤地創建了版本cl5_sw_ste @@/main/1。 – Dave

+0

@Dave ok,這是有道理的。 – VonC