[issue3390] import --exact rejects MQ-generated patch

Stefan Ring bugs at mercurial.selenic.com
Mon Apr 23 07:04:00 CDT 2012


New submission from Stefan Ring <stefanrin at gmail.com>:

I don't know if this is by design, but I notice that I cannot use 'hg import
--exact' to apply a patch from an MQ. The reason seems to be that the MQ
patch is missing a Node ID field. This causes hg import to complain like this:

abort: not a Mercurial patch

If it is by design, I don't consider this the best decision.

Tested using this revision:
http://selenic.com/repo/hg-stable/rev/cbf2ea2f5ca1 (2.2-rc?)

----------
messages: 19709
nosy: Ringding, pmezard
priority: bug
status: unread
title: import --exact rejects MQ-generated patch
topic: mq

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3390>
____________________________________________________


More information about the Mercurial-devel mailing list