Setting the branch on which an mq patch is applied
Angel Ezquerra
angel.ezquerra at gmail.com
Wed May 25 17:12:48 UTC 2011
On Wed, May 25, 2011 at 6:59 PM, Martin Geisler <mg at aragost.com> wrote:
> 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/
>
OK, thanks!
Angel
More information about the Mercurial
mailing list