***UNCHECKED*** [issue3234] hg-generated patch fails to apply ("abort: bad hunk")

Nicholas Riley bugs at mercurial.selenic.com
Wed Feb 1 16:28:52 CST 2012


New submission from Nicholas Riley <com-selenic at sabi.net>:

I did the following:

hg diff > ..\app.diff
hg revert -aC
hg import --no-commit ..\app.diff

and got the following output:

applying ..\app.diff
abort: bad hunk #1 @@ -2,15 +2,16 @@
 (15 15 17 16)

I extracted the failing diff hunk and the (beginning of) the file it's trying to 
patch into the attached repository.

Mercurial 2.0.2, tested on OS X and Windows 7.

----------
files: test.tar.gz
messages: 18904
nosy: nriley
priority: bug
status: unread
title: hg-generated patch fails to apply ("abort: bad hunk")

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue3234>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar.gz
Type: application/x-gzip
Size: 1842 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120201/a444c8cf/attachment.bin>


More information about the Mercurial-devel mailing list