2

I am trying to get the changeset of an activity.

"cleartool lsactivity -l Build-Activity.1278"

I have used the above command . But the problem is if a same file has more than one checkin ,it shows all of them and also it shows check-in made in child stream as well as in Integration stream.

I just need to see the files affected by this activities in integration stream. I don't want each version details.

How to format and get the only file list in integration stream with only the latest version?

Samselvaprabu
  • 16,830
  • 32
  • 144
  • 230

1 Answers1

0

cleartool lsact should only show version done in a stream, since an activity is always linked to an UCM stream.

You could use fmt_ccase to display only the versions:

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

And process the output to remove the @@/main/... part (the extended path) in order to leave only the element. Then pipe the result to the command 'uniq' in order to eliminate duplicates.

For example, for each version listed, you can do a cleartool descr -fmt "%En" /a/version@@/main/... in order to get the element name.

cleartool lsact -fmt 
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250