[issue986] mpatch: unfriendly reporting of bad hunks

Thomas Arendsen Hein mercurial-bugs at selenic.com
Thu Feb 14 12:28:55 CST 2008


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

While trying to import a patch with linewrap damage:

$ hg import x.patch 
applying x.patch
abort: bad hunk #3 @@ -119,11 +138,17 @@ def dodiff(ui, repo, diffcmd, diffopts,
 (12 11 17 17)

$ patch -s -p1 < x.patch 
patch: **** malformed patch at line 83: tmproot)

The output of GNU patch is much more informative to me.

----------
assignedto: mason
files: x.patch
messages: 5272
nosy: ThomasAH, mason
priority: wish
status: unread
title: mpatch: unfriendly reporting of bad hunks

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue986>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x.patch
Type: text/x-diff
Size: 4097 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20080214/1fabe8c1/attachment.patch 


More information about the Mercurial-devel mailing list