如何仅使用GUI操作以清除方式创建分支? [英] how to create a branch in clearcase with GUI operation only?

查看:85
本文介绍了如何仅使用GUI操作以清除方式创建分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我搜索了一会儿,试图找到一种用clearcase创建分支的方法,但是在我发现的所有文章中都使用了cleartool命令。
我只是很好奇,还有其他方法只能使用GUI操作吗?

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?

推荐答案

当然,您可以通过GUI创建分支。

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


  • 如果您使用的是UCM:


    • 您可以打开ClearCase项目资源管理器,

    • 定义新的流,

    • 在其上创建视图,

    • 打开ClearCase资源管理器

    • 检出任何文件并选择其版本树

    • 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


      • 如果您使用的是基本ClearCase


        • 打开您的ClearCase Explorer

        • 在视图上选择属性

        • 修改视图的配置规范

        
        element * /main/LATEST
        

        进入:

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

        签出文件时,您会看到 aNewBranch 在其版本树中。

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

        注意:在基本的ClearCase中,您可能需要先创建分支类型,然后才能在配置规范中使用它。

        再次有一个GUI:类型浏览器。 (开始>程序> Rational ClearCase>类型资源管理器

        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)


        • 打开它,

        • 选择您的元素将在其中使用该分支的正确Vob


        • 选择分支类型,

        • 并创建分支类型 aNewBranch

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

        这篇关于如何仅使用GUI操作以清除方式创建分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆