Reversing a change set

If you want to undo the delivery of a change set, you can create a new change set that reverses all the changes in it and then deliver the reversed change set.
About this task

The Reverse operation enables to you to undo a delivery by creating a special change set that, when applied to a flow target, removes the changes made by a change set without removing the change set itself. When you remove a change set from a workspace or stream, it appears as an outgoing change set bearing the original owner and creation date. Reversing a change set accomplishes the same thing as removing it, and avoids this occasionally confusing side effect. Reverse creates a Rational Team Concert™ source control patch that, when merged into your workspace, removes the changes made in a specific change set (the change set that it was created to reverse) and creates a new change set. You can deliver this change set to reverse those changes in workspace flow targets.

To reverse a change set:

  1. In the Pending Changes view, navigate to the component that contains the change set you want to remove.
    Note: While you can reverse a completed change set that is still in your workspace (by opening the Pending Changes view and navigating to the change set in a component's Outgoing folder), it is usually easier to modify, undo, or discard an undelivered change set, and use the Reverse operation for change sets that have already been delivered.
  2. Right-click the component and click Show History.
  3. Navigate to the change set you want to reverse. Right-click it and then click Reverse. This creates a Rational Team Concert source control patch named Reverse:name_of_change_set, which appears in the Pending Patches folder in the Pending Changes view.
  4. If there are any active change sets in the workspace, complete or suspend them. If you merge a patch into a workspace that contains active change sets, the patch content is applied to the active change sets.
  5. Expand the patch and review its contents to be sure that merging it will not introduce conflicts. For more information, see Creating and applying a Rational Team Concert source control patch.
  6. After you are sure that no conflicts will result from merging the patch, right-click the new change set and click Merge into Workspace to merge the patch into your workspace. The merge creates unresolved changes in the components affected by the patch. Check in these changes and deliver them to reverse the change set you selected in Step 3.

Feedback

Did this help? You can provide feedback at Jazz.net (registration required): Comment in the forums or submit a bug