I made a change to a file in my mercurial project that I'd like to roll back, but I'd like to keep some changes that occurred subsequent to it:
Revision 1: Original
Revision 2: A change I made in error
Revision 3: A change I want to keep
I want to roll back ONLY the changes in Revision 2, leaving 1 and 3 applied, and create a new revision 4. What is the most "Mercurial" way of doing that?
Note that yes, I could extract the reverse diff from revision 2 and apply it to my working copy as a patch, and commit that. I know. But I'd like to find some way that the tool directly supports.