cannot commit over an applied mq patch

Peer Sommerlund peer.sommerlund at gmail.com
Thu Jul 31 05:52:15 CDT 2008


2008/7/31 Roman Kennke <roman.kennke at aicas.com>

> Hi,
>
>
> > 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.


The warning is when you try to commit in your main repository while you have
qpush'ed some patches.

If you want to commit the state of your patch queue to your patch queue
repository,
use hg qcommit

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


Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20080731/422cce98/attachment.htm 


More information about the Mercurial mailing list