ClearCase快照视图:从装入语句中排除一个特定目录? [英] ClearCase Snapshot Views: exclude one particular directory from load statements?
问题描述
早上好
有什么方法可以从快照的load语句中仅排除一个特定目录,例如我要加载名为' PM_CT '除外 \ PM_CT \ lost + found目录
is there any way to exclude only one particular directory from a snapshot's load statement, e.g. I want to load a whole vob named 'PM_CT' except the \PM_CT\lost+found directory
...有一种优雅的方法吗?我通常如何在多个已加载的Vob中排除所有 lost + found 目录?
... is there an elegant way to do it? And how would I generally exclude all lost+found directories across multiple loaded vobs?
干杯和谢谢,
-Jörg
推荐答案
element /PM_CT/lost+found -none
优雅"的方式包括:
- 添加选择规则(此处为"
-none
")
如果您的视图是快照,则 - 加载 all PM_CT而不会提出任何问题(
load /PM_CT
)
- adding a selection rule (here "
-none
") - loading all PM_CT without aking any question (
load /PM_CT
), if your view is a snapshot one
注意:在配置规范中,请始终使用"/":更容易,并且Windows以及Unix ClearCase视图都可以解释它.
Note: in a config spec, always use "/": it is easier, and Windows as well as Unix ClearCase views will be able to interpret it.
注意事项:
- 先前的解决方案是针对一个VOB,我认为您不能对多个VOB使用通配符"
- "
-none
"选项可能导致快照视图在传递或重新设置(UCM合并)期间失败:对于这种操作,动态视图将更适合.这适用于CC 2003.06和7.0之前的版本.我认为它与最新的CC7.1.0.2效果更好
- the previous solution is for one vob, I do not think you could use "wildcard" for multiple vobs
- the '
-none
' option can cause a snapshot view to fail during a deliver or rebase (UCM merge): for that kind of operation, a dynamic view would be more suited. That is for CC 2003.06 and early 7.0. I think it works better with the latest CC7.1.0.2
注意:选择规则也可以用于动态视图,以掩盖您不希望看到的某些目录.
Note: that selection rule can also be used for dynamic views, in order to mask some directory you would not want to see.
这篇关于ClearCase快照视图:从装入语句中排除一个特定目录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!