how to backout the code in RTC

Hello,
How do we backout the code is RTC ? what is the procedure can it be automatic ? or it has to be via patches ? can the merge happen automatically or always the code has to be overwritten in workspace and rechecked in.
Scenario: some code for a feature has been checked in ( involves many files) and in the last minute this feature code has to be backed out due to a reason how is this achieved in RTC in easiest way?
Appreciate your help
Thanks
Sagar
How do we backout the code is RTC ? what is the procedure can it be automatic ? or it has to be via patches ? can the merge happen automatically or always the code has to be overwritten in workspace and rechecked in.
Scenario: some code for a feature has been checked in ( involves many files) and in the last minute this feature code has to be backed out due to a reason how is this achieved in RTC in easiest way?
Appreciate your help
Thanks
Sagar
Accepted answer

You can apply the "reverse" operation to a change set in the history of your workspace. This creates a patch that you then apply to your workspace.
Alternatively, you can try to backout code in your workspace with the "discard" or "suspend" operation applied to a change-set in the history of the workspace. If this fails because there are changes in the workspace that depend on that change set, then you'll have to use the "reverse" mechanism. If it succeeds, then to apply this change to a stream, you have to use the "replace" operation, rather than the "deliver" operation.
Cheers,
Geoff
Alternatively, you can try to backout code in your workspace with the "discard" or "suspend" operation applied to a change-set in the history of the workspace. If this fails because there are changes in the workspace that depend on that change set, then you'll have to use the "reverse" mechanism. If it succeeds, then to apply this change to a stream, you have to use the "replace" operation, rather than the "deliver" operation.
Cheers,
Geoff
Hello,
How do we backout the code is RTC ? what is the procedure can it be automatic ? or it has to be via patches ? can the merge happen automatically or always the code has to be overwritten in workspace and rechecked in.
Scenario: some code for a feature has been checked in ( involves many files) and in the last minute this feature code has to be backed out due to a reason how is this achieved in RTC in easiest way?
Appreciate your help
Thanks
Sagar