Mercurial move changes to a new branch
问题 I have a number of changes that I committed to my local repository, but have not yet been pushed. Since on a feature is taking longer than expected, I want to swap these changes onto a named branch before I push. How can I do this? 回答1: As suggested by Mark, the MqExtension is one solution for you problem. IMHO a simpler workflow is to use the rebase extension. Suppose you have a history like this: @ changeset: 2:81b92083cb1d | tag: tip | summary: my new feature: edit file a | o changeset: 1