EOL extension and patch.eol

Martin Geisler mg at lazybytes.net
Sat Dec 5 04:20:40 CST 2009

Hi guys,

I've pushed this test case to Bitbucket:


As the commit message says, I believe it is wrong since it cannot handle
the case where we have to change patch.eol in a single patch. The code
will actually normalize all EOLs to whatever the platform native setting
it, also in binary files.

I searched back a bit and found


which introduces the patch.eol setting. I also found


by Colin which looks superior since I believe it does apply the filters
on a per-file basis. I believe that is the root problem: the patch.eol
setting is global to all files in a single imported patch.

Does anybody have a suggestion?

Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091205/77116fc1/attachment.pgp>

More information about the Mercurial-devel mailing list