cleartool list activities since last 7 days

社会主义新天地 提交于 2019-11-29 15:35:59

It is a bit trickey, because all cleartool lsactivity commands are limited to one pvob ("project vob" or "special vob with UCM metadata in it"):

cleartool lsact -invob \my\pvob -stream ...

And an activity can be reused (meaning an old activity can have in its changeset very recent versions)

If you have two baselines, you can easily diff them (by activity): See ..diffbl**.

ct diffbl -act baseline:bas1@\myPVob baseline:bas2@\myPVob

(that is necessary for one component within one Vob though)

But if not, you need to list all activities and their changeset, to see which one contains version produced in the relevant date range.

We are using a ClearCase UCM plugin which called "Compare BL", made by "Go Midjets". It answers your needs.

Here a useful snippet for Linux tcsh.

For each activity you get you may want to list its changed set.

You can use

cleartool lsact -s and cleartool lsact -fmt "%[versions]p" <act_Name>

as shown here:

http://www.snip2code.com/Snippet/961/list-files-changed-in-clearcase-ucm-stre?fromPage=1

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