[issue2308] mercurial generate faulty diff

benallard bugs at mercurial.selenic.com
Fri Jul 30 10:05:53 UTC 2010


New submission from benallard <benoit at aeteurope.nl>:

I realized this bug when trying to review a changeset with hg-review, this
one was crashing on this diff.

The attached bundle just need to be unbundled inside an empty repository,
and any diff of a changeset (r0 or r1) should contain an empty line: not '
', but ''. Such a line is not correct inside a diff.

I srtongly suspect a line ending conflict-something.

Actually, hg export gives an output that makes sense, so the trouble might
only be in the internal API. Inside THG for instance this offending empty
line is visible.

Is there something that can be done for it, or is it only a display issue ?

----------
files: b.hg
messages: 13245
nosy: benallard
priority: bug
status: unread
title: mercurial generate faulty diff
topic: diff

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2308>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b.hg
Type: application/octet-stream
Size: 1045 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100730/47f07ba5/attachment.obj>


More information about the Mercurial-devel mailing list