To find, compare, and check in work from a command shell

Procedure

  1. From your view (if you work in a multiple-stream UCM project, your development view), produce a list of the file or directory versions checked out to your view.
  2. To determine which changes are in a checked-out version:
    • To see the differences between the previously checked-in version and the current version, type this command:

      cleartool diff -predecessor filename

    • To see checkin comments, type this command:

      cleartool lshistory filename

  3. Perform one of the following actions:
    • To deliver changes for a given file, check it in by typing this command:

      cleartool checkin filename

    • To cancel your changes for a file, undo its checkout by typing this command:

      cleartool unco filename

      During the cancel checkout operation, you can choose to save your changes in a view-private file.

    • To keep your changes without delivering a file, leave it checked out.

      If you work in a multiple-stream UCM project and leave a file checked out, the predecessor version in the activity change set is delivered. If the checked-out version is the only version in the change set, no version of the element is delivered.