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

How do I undo changes that are marked as "Merged"?

If I accept changes that modify my checked in changes, and I want to undo the changes that I've made to a single file, how do I do this?

Eclipse complains:
Cannot undo because /foo/bar contains merges. To rollback load the contents of a previous state from history.
I did "Show History" and loaded the latest version of the merged file. Now my change set contains an empty modification to the file, still marked as "(Merged)". Is there any good way to get rid of this?

From https://jazz.net/forum/questions/77197/how-do-i-undo-merged-files-from-my-changeset it is suggested that I create a new change set and move all my files to the new change set and discard my current change set. This is kind of annoying when I have modified hundreds of files. Is there an alternative that lets me undo a single file instead of redoing hundreds of files?

0 votes


Accepted answer

Permanent link
I was able to move the merges to a new change set, and discard that empty merge change set.

The idea was to move all the changes I wanted to get rid of instead of moving the changes I wanted to keep.

Ralph Schoon selected this answer as the correct answer

0 votes

Comments

 Thanks for posting your answer here. It helped me with a similar situation.

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,030
× 33
× 4

Question asked: Nov 09 '15, 4:15 p.m.

Question was seen: 4,125 times

Last updated: Jan 13 '16, 11:03 a.m.

Confirmation Cancel Confirm