Discarding a change set from a workspace

To remove a change set from your workspace, discard it.
About this task

If you have accepted a change set but decide later that you don't want it in your workspace, you can discard it to undo the accept and return the change set to the component's Incoming folder.

You can also discard a change set that you created but have not yet delivered. Discarded change sets of this type remain in repository but are not placed in any special folder. To make it easier to retrieve a discarded change set that does not exist in any other stream or workspace, you can associate it with a work item before you discard it and then accept it from the work item later. You can also search for change sets using the Rational Team Concert™ source control search tool. For more information, see Searching for repository objects.

To discard a change set:

  1. In the Pending Changes view, navigate to the component that contains the change set you want to discard.
    • If the change set is in an Outgoing folder, right-click it and click Discard.
    • If you have already accepted the change set, you must find it in the component's change history before you can discard it. Right-click the component and click Show History to open the History view. In the History view, right-click the change set and click Discard.
    You will be prompted to decide whether you want to discard the change set or suspend it so that you can use it later. For more information, see Suspending a change set
  2. Click OK to discard the change set
Results

The discarded change set is completed and removed from your Eclipse workspace. If it exists in any of the workspace's flow targets, it is moved to the component's Incoming folder. Otherwise, it remains in the repository, but is not listed in any folder.


Feedback

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