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

时光总嘲笑我的痴心妄想 提交于 2019-12-01 11:11:49

问题


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.



来源:https://stackoverflow.com/questions/18733558/how-do-i-check-if-i-have-a-base-clearcase-or-ucm

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