Setting the branch on which an mq patch is applied

Angel Ezquerra angel.ezquerra at gmail.com
Wed May 25 16:10:39 UTC 2011


Hi,

we have recently had a discussion on the tortoisehg developers mailing
list regarding mq and branches.

The discussion started when I asked whether there is a way to select
the branch in which an mq is applied. By default mq automatically
applis patches on the same branch as the parent revision.

As far as we can tell there is no way to tell mq to apply the patch
into a different branch through its command line interface. Instead it
seems that if you want to change the branch of an mq patch you must
call "hg branch" prior to calling hg qpush, hg qrefresh or hg qnew.

Is this the recommended solution?

Cheers,

Angel



More information about the Mercurial mailing list