cleartool list activities since last 7 days

拥有回忆 提交于 2019-12-18 08:57:49

问题


We use ClearCase UCM which has multiple Vobs (10).

How to find the activities for past one week?
Or list activities between two date ranges?


回答1:


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.




回答2:


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




回答3:


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



来源:https://stackoverflow.com/questions/3811879/cleartool-list-activities-since-last-7-days

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