To prepare your development view for a rebase operation using the command line

Before you start a rebase operation, check in all files and directories in your development view. You cannot start a rebase operation from a view that contains checkouts.

  1. From your development view, enter cleartool lscheckout with these options:
    cleartool lscheckout -cview -me -avobs

    The lscheckout command produces a list of file or directory versions checked out to your development view and indicates which activity each checked-out version belongs to.

    For more information, see the lscheckout reference page.

  2. To see 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 write to the VOB the changes for a given file, check it in. Type this command:
      cleartool checkin filename
    • To undo your changes for a file, cancel its checkout. Type this command:
      cleartool uncheckout filename

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

Related concepts
About using Diff Merge to resolve differences
About components and baselines
How your work area is rebased
About rebasing your work area
Special considerations for rebasing in a single-stream project
Starting the rebase operation
Related tasks
To prepare your development view for a rebase operation using the Rational ClearCase Explorer (Windows)
To see the history of an element
To start a rebase operation
To find checkouts
Related reference
lscheckout
diff
lshistory
checkin
uncheckout

Feedback