[PATCH] [mq] addchangegroupe finalize mq patches if changeset children are added

Martin Geisler mg at lazybytes.net
Sun Mar 13 04:53:27 CDT 2011


Dirkjan Ochtman <dirkjan at ochtman.nl> writes:

> On Sat, Mar 12, 2011 at 19:29, Martin Geisler <mg at lazybytes.net> wrote:
>>> Seems to me like we should instead just refuse to add changesets from
>>> the pull to the repository if they descend from changes that are in
>>> MQ. i.e. abort with a hint to finish the patches first.
>>
>> Why is that? If the pull brings in children of the mq patches, then that
>> is because what is mq patches in our repository also exists as
>> changesets in another repository. Then I think it makes good sense to
>> finalize the mq patches since they've spread to somewhere else.
>
> What if you pull from a remote which has the original + new mq patches
> applied?

I don't think that is supported, though I can see how that is annoying
if you are used to rsync'ing your repository to another machine with
patches applied.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list