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

2020-03-30 05:39发布

问题:

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, in which we used to create "tasks" for any modifications in the files.

I got to know that we have activities in ClearCase, which I want to use in our projects.
As of now, we just check-out the files and modify and checkin the changes.
But when I check my ClearCase --> Actions, I don't see the option ->WorkOn to start creating an activity.

We are currently using the following version of ClearCase:

Version: 7.0.1.D061004
Build id: BALTIC_MR1.D070516

Please tell me if i need to install anything else?

回答1:

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.