Search code examples
clearcase

How to find files asssociated with a ClearCase UCM activity?


Can someone help me with the following question: How can I find files that were checked in with some activity.

For example:

I am working on a view called syoffe_my_product_view and in the past I created an activity - BUG123_activity.
Now I need to find all the files that were checked in with this activity

What command/option do you recommend?


Solution

  • See cleartool lsactivity man page:

     cleartool lsactivity -l activity-id@\aPVob      # (windows)
     cleartool lsactivity -l activity-id@/vobs/aPVob # (unix)
    

    You have also the describe option with fmt_ccase

     cleartool describe -fmt "%[versions]CQp"  activity-title@\aPVob
    

    In both cases, make sure to use the activity ID and noy the activity "headline":

    enter image description here

    The activity above, for instance, woiuld need test1_24342, not test1 (its "Headline")

    If you execute it:

    • outside your view, you will get the extended paths for all the versions recorded in this activity.
    • within your view, you will get the paths.