当前位置: 动力学知识库 > 问答 > 编程问答 >

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

问题描述:

We have several branches that were set to one per branch and we want to change those to one per element.

I cannot seem to find an example of that command.

I can do it with the windows and xclearcase but that is one at a time and I want to do the whole VOB.

网友答案:

You need to change the branch label type.

That is actually done with cleartool mkbrtype -replace (ClearCase 7, 8 and 9.x): you are replacing an existing branch type with a new one.

cleartool mkbrtype -replace -pbranch -c "my branch bis" [email protected]/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.

分享给朋友:
您可能感兴趣的文章:
随机阅读: