How to move some changeset to a new branch in mercurial

Posted by David Cournapeau on Stack Overflow See other posts from Stack Overflow or by David Cournapeau
Published on 2010-02-08T05:26:30Z Indexed on 2010/03/20 18:31 UTC
Read the original article Hit count: 341

Filed under:
|
|

Hi,

I want to move a changeset from one branch to another. Basically, I currently have:

A -> B -> C -> D # default branch

And I want:

A # default branch
 \-> B -> C -> D # some_new_branch

Where some_new_branch does not exist yet. I am used to git, so I guess there is a simple "mercurial" way I am missing.

© Stack Overflow or respective owner

Related posts about hg

Related posts about rebase