How can I branch “main” node of a UCM project?

浪尽此生 提交于 2019-12-08 02:09:43

问题


We're using RAD with ClearCase plugin as "ClearCase Explorer Perspective". I need to make a new main version of a java project. For that reason, I want to change main/0 version to ie. main/1. How can I forward version from top-level? I tried to make new project by using "Project Explorer" creating new stream. It required previous baselines. However, when I checkin from this new project stream, it branches from the given baseline version(say 1) like below.

main
|
0
|
MyProj1_Integration
|
0
|
1(BL)---MyProj2_Integration
|          |
2          0
           |
           1

I want it to be like:

main
0  ------------------- 1 
|                      |
MyProj1_Integration   MyProj2_Integration
|                      |
0                      0
|                      |
1(BL                   1
|
2

When inspecting versions from ClearCase Explorer version numbers are shown like below:

/main/MyProj1_Integration/MyProj2_Integration/1

I expect to see:

/main/MyProj2_Integration/1

Also, I want to include latest versions of files from previous branch to the new branch. How can I achieve that? Do I need to create a new VOB?


回答1:


/main/0 is only accessible from the 'INITIAL' baseline.

That means you need to have on your MyProj2_Integration an baseline ending with _INITIAL.
Only that foundation baseline will branch from /main/0.

Once you have that configuration, you will then be able to make a 'deliver' from 'MyProj1_Integration' to 'MyProj2_Integration', in order to get back the latest versions of your first project in the new branch 'MyProj2_Integration'.



来源:https://stackoverflow.com/questions/3237191/how-can-i-branch-main-node-of-a-ucm-project

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