Details of config spec in base ClearCase

别说谁变了你拦得住时间么 提交于 2019-12-13 12:16:39

问题


My base ClearCase config spec reads like this:

element * CHECKEDOUT
element * .../Branch_F13R2/LATEST

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?


回答1:


That is because you don't know the parent branch.

.../ 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?".

I would also recommend to add the rule

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.



来源:https://stackoverflow.com/questions/14448882/details-of-config-spec-in-base-clearcase

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