Setting the branch on which an mq patch is applied
Martin Geisler
mg at aragost.com
Wed May 25 16:59:04 UTC 2011
Angel Ezquerra <angel.ezquerra at gmail.com> writes:
> 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?
Yes, this is same way you choose the branch name for the next commit.
--
Martin Geisler
aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/
More information about the Mercurial
mailing list