问题描述
我的基本ClearCase配置规范如下所示:
My base ClearCase config spec reads like this:
element * CHECKEDOUT
element * .../Branch_F13R2/LATEST
一切都很好,但是我想知道是什么。 ./
在路径的开头做什么?在UCM中,我们可以在Clear Case Explorer中看到流和VOBS,但是在基本ClearCase中,如何知道如果我想从 Branch_F13R2
中检出,则需要 ... /
是开头吗?
All is good, but I am wondering what is the .../
doing at the beginning of the path? In UCM, we can see the streams and VOBS in Clear Case explorer, but in base ClearCase, how to know that if I want to check out from Branch_F13R2
, I need .../
at the beginning?
推荐答案
那是因为您没有
... /
允许ClearCase选择该分支,可以从 / main
或其他任何分支中获取。
要了解有关该符号的更多信息,称为省略号通配符,请参阅 查找在
.../
in a selection rule allows for ClearCase to select that branch, from whatever branch it comes from: /main
, or any other branch.
To see more about that notation, called ellipsis wildcard, see "Find all files modified in a specific ClearCase branch?".
我还建议添加规则
element * /main/LATEST
并非每个父目录都有一个版本在您要查找的分支中,并且没有最后的选择在规则中,它没有任何选择,因此任何子元素都无法访问。
Not every parent directory has a version in the branch you are looking for, and without this last selection rule, it would have nothing to select, making any sub element inaccessible.
这篇关于基本ClearCase中的配置规范的详细信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!