how to create a branch in clearcase with GUI operation only?

可紊 提交于 2019-11-27 16:34:13

问题


I searched for a while and tried to find a way to create a branch in clearcase, but cleartool commands are used in all the articles I found. I'm just curious that is there any other way to use GUI operation only?


回答1:


Of course, you can create a branch through the GUI.

  • If you are using UCM:
    • you can open the ClearCase project explorer,
    • define a new stream,
    • create a view on it,
    • open the ClearCase explorer
    • checkout any file and select its version tree

You will see a new branch created for that file


  • If you are using base ClearCase
    • open your ClearCase Explorer
    • select "properties" on your view
    • modify the config spec of your view
element * /main/LATEST

into:

element * /main/0 -mkbranch aNewBranch
element * /main/LATEST -mkbranch aNewBranch

And when you checkout a file, you will see "aNewBranch" in its version tree.

Note: in base ClearCase, you may need to create the "branch type" first, before being able to use it in a config spec.
Again, there is a GUI for that: the type explorer. (Start > Programs > Rational ClearCase> Type Explorer)

  • Open it,
  • select the right Vob where your elements will use that branch

  • select "branch type",
  • and create your branch type "aNewBranch".


来源:https://stackoverflow.com/questions/2110023/how-to-create-a-branch-in-clearcase-with-gui-operation-only

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