Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top