如何以编程方式将约束更改为 ClearCase 中的分支?

How do I programmatically change the constraint to a branch in ClearCase?

我们有几个分支设置为每个分支一个,我们想将它们更改为每个元素一个。
我似乎找不到该命令的示例。

我可以用 windows 和 xclearcase 做到这一点,但这是一次一个,我想做整个 VOB。

您需要更改分支标签类型。

这实际上是通过 cleartool mkbrtype -replace(ClearCase 7、8 和 9.x)完成的:您正在用新的分支类型替换现有的分支类型。

cleartool mkbrtype -replace -pbranch -c "my branch bis" mybranch@/vobs/myvob

By default only one branch of this type can be created in an element's entire version tree.
The -pbranch option loosens this constraint.