6.3 Testing Your Development Work Area

After ClearCase changes your stream's configuration and completes any needed merges, verify that any undelivered work builds successfully with the versions in the new baseline by initiating a test build in your development view. If your organization uses clearmake, you can use this ClearCase build tool for your builds; however, the build auditing and build avoidance features are available only from dynamic views.

For more information, see Building Software and the clearmake reference page in the Command Reference.

In addition, you may need to do the following:

Checking Out Elements

In the process of building and testing, you may need to check out elements in your development view and modify them. As described in Under the Hood: Integration Activities and Baselines, ClearCase creates an integration activity to record any modifications you make during the rebase operation.

NOTE: We recommend that you postpone checking in your modifications until you complete the rebase operation. Checking in complicates efforts to undo the rebase operation, if you find it necessary to do so.

Undoing a Rebase Operation

At any time before completing the rebase operation, you can undo changes made as a result of the operation. This undo procedure is valid only if you have started a rebase operation and have not completed it.

To Undo a Rebase Operation
  1. If you started the Diff Merge tool, close it.

  2. Close the clearmrgman window, if open.

  3. From your development view, enter the following command:

  4. cleartool rebase -cancel

ClearCase cancels all checkouts in the development view and removes all merge arrows created during the current operation. (ClearCase uses merge arrows in VOBs to keep a history of merges.)

If you checked in any versions to the development view, you must remove them using the cleartool rmver command. Because rmver erases part of your organization's development history, your organization may not allow individual developers to use it. Be very conservative in using this command. For more information, see the rmver reference page in the Command Reference.