3

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?

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
Saar YOffe
  • 33
  • 1
  • 5

3 Answers3

7

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.
First Last
  • 49
  • 5
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1
cleartool lsact -l 

There are another options but this is a good one for starting...

Tamir

Tamir Gefen
  • 1,128
  • 2
  • 18
  • 35
  • thx for the answer but running it in my view gives no output. The activity I need to query was used in the past and I need to find the list of files that are associated with it – Saar YOffe May 17 '12 at 08:44
  • You have to provide @ at the end of this command. See "cleartool man lsact" for further details – Tamir Gefen May 17 '12 at 09:02
0

If you have ClearTeam Explorer follow these steps,

  • Open ClearTeam Navigator.
  • Click My Views-> [some view] ->My Activities.
  • Clear Team Details tab will open with list of activities created by you.
  • Right click on specific activity and select Show Change Set.
  • ClearCase Change Set tab will open and lists Check-in files under specific activity.
Asir Jacob
  • 1
  • 1
  • 1