views:

1826

answers:

1

Is it possible to get a list of all the check-ins I've made within a given source code directory tree using cleartool? If possible I'd like to see when the check-in was made and the file version. I'm using Windows.

Thanks in advance.

+6  A: 

This would involved a cleartool find command with:

  • an -exec directive to describe the versions found
  • a -fmt to better format the result
  • a -created_by query language operator to restrict the results to only your checkins versions.

You can either display all versions of the checkins files, or only one file per all versions checked-in, that is the 'element'. In your case, to see when the checkin has been made, you need to list the versions.

Something like:

cleartool find . -ver "created_by(myLogin)" -exec "cleartool descr -fmt \"%En : %Sn made %Vd\n\" \"%CLEARCASE_XPN%\""

'.' will designate the current directory from which you are looking your versions.

%Sn will give you branch/versionNumber, %Ln would only give you the version number.

VonC