Checkin history of a user in clearcase

clearcase

Solution

The changeset of an activity can show the date of the files. You just need to combine your `describe` command with a `fmt_ccase` format instruction.

cleartool describe -fmt "%[versions]CQp\n" activity:myActivity@/pvobName

For each of the output:

cleartool describe -fmt "%u %n %d" aFile@@/main/branches/x

Note: On Windows, you can list all the activities for a given user. First, go into a UCM view associated with the relevant stream. Then:

for /f  %x in ('cleartool lsact -cview -fmt "%Xn %u\n" ^| findstr "username"') 
  do cleartool desc -fmt "%[versions]CQp\n" %x 

You can also script this in Perl (which would then be portable, both on Windows and Unix). See SO question "How can I interact with ClearCase from Perl?"

Problem

Is there a way to find out the checkin history of a user in a stream? I know that i can get the history by looking at all the activities in a stream. But the change set in an activity doesnt show the date the file is checkedin. Thanks for the help!

Original source