Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Accepted answer

Permanent link
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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,075
× 1,204
× 11

Question asked: May 01 '12, 11:52 a.m.

Question was seen: 6,809 times

Last updated: Jun 24 '14, 10:31 a.m.

Confirmation Cancel Confirm