It's all about the answers!

Ask a question

how to backout the code in RTC


Sagar shah (821317) | asked May 01 '12, 11:52 a.m.
retagged Jun 24 '14, 10:31 a.m. by David Lafreniere (4.0k7)
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

Accepted answer


permanent link
Geoffrey Clemm (29.1k23035) | answered May 02 '12, 9:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

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
Sagar shah selected this answer as the correct answer

Your answer


Register or to post your answer.