I’m having the following problem: I commited two changesets into the default branch, but now I think I should put them into a new branch. That means I want to branch of from the revision before these changes happened, put those changesets into the newly created branch and erase them from the default branch’s history.
What’s the best way to do this in Mercurial?
I’m having the following problem: I commited two changesets into the default branch, but
Share
hg rebasecan probably do that.Otherwise you can do it manually: