How do I check if I have a base clearcase or UCM?

前端 未结 1 895
萌比男神i
萌比男神i 2021-01-16 14:26

I am new to ClearCase . I have used rational synergy before.

We use ClearCase in our project for version control.
In my old project, I have used rational synergy

1条回答
  •  醉梦人生
    2021-01-16 15:17

    The "work on" would be (setact man page):

    cd /path/to/your/ucm/view
    cleartool setact anActivity@\yourPVob
    

    To check on what activity you are currently working (lsact man page):

    cd /path/to/your/ucm/view
    cleartool lsact -cact
    

    To check if a view is an UCM one or not:

    cd /path/to/your/view
    cleartool lsstream -cview
    

    If there is a stream attached to your view, it is an UCM one. If not, it is a base ClearCase one (not this is separate for the nature of the view: dynamic or snapshot: you can have dynamic or snapshot view both for UCM or for base ClearCase).

    another way is:

    cleartool catcs
    

    The config spec for an UCM view is automatically generated and quite more complex than the one for a base ClearCase view.

    0 讨论(0)
提交回复
热议问题