cannot commit over an applied mq patch

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Jul 31 08:25:35 CDT 2008


On Thu, 31 Jul 2008 12:43:02 +0200, Roman Kennke <roman.kennke at aicas.com> wrote:
>> 2008/7/31 Roman Kennke <roman.kennke at aicas.com>
>>         A coworker of mine ran into this error while trying to commit
>>         a new
>>         patch to a patch queue repository:
>>
>>         > hg commit
>>         abort: cannot commit over an applied mq patch
>>
>> Are you sure it is not "hg qrefresh" or "hg qnew --force" you want
>> instead?
>
> Yes. This commit is supposed to be in the .hg/patches repository. This
> is why I am confused.

That's true, the commit should be done inside .hg/patches :)

>> .. maybe followed by "hg qcommit"
>
> Is this the same as (cd .hg/patches ; hg commit ) ?

Yes.  "hg qcommit" is more or less equivalent to:

    hg -R .hg/patches commit

    ( cd .hg/patches ; hg commit )




More information about the Mercurial mailing list