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

About this task

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.

Procedure

  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.