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

Redelivering a reversed Change Set

 Hi,
I remove a change from a stream by using "Reverse" on its change set and creating a "Patch". This operation have created a new change set without the original change and then I delivered the new change set to the team stream.

Let's say that after a few days I regret the patch and want the original change back again, how do I redeliver the original change set?

Thank you,
Gabriel.

0 votes

Comments

You can't "redeliver" the change set because it still exists in the stream. What your reversal did is create another change set that undoes the changes.

Hi Tim,


Yes I know that, but what if I do need the original change back? Is there a way to merge  it back?

Gabriel. 



One answer

Permanent link
 Hi Gabriel,

One simple method which I tried:
When you delivered the patch to the team stream, suppose you named the change set containing it as 'Test'.
Go to history and reverse the change set 'Test'. It will again create a patch and when you deliver it, you'll get the original change back.

1 vote

Comments

This is your easiest option. You can also discard the reversal from your workspace and replace in stream with the contents of your workspace. Either way results in the changes you want. Shuchita's answer will give you a change history that shows the reversal and the reversal of the reversal. My suggestion would mean the reversal never happened.

2 votes

Tim, What if the reverse change set is already a base for new change sets? 

If that's the case then you have to perform a reversal of the reversal as Shuchita suggested. Those change sets already rely on the reversal change set so removing them would mean recreating them. It's often easier to deliver a reversal unless you're required to remove the change completely as if it was never delivered.

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,019
× 1,202
× 149

Question asked: Jul 28 '14, 4:03 a.m.

Question was seen: 4,328 times

Last updated: Jul 29 '14, 7:50 a.m.

Confirmation Cancel Confirm