End-of-line issues between Windows and Unix & eol.py

Dirkjan Ochtman dirkjan at ochtman.nl
Wed Apr 14 07:07:53 CDT 2010


On Wed, Apr 14, 2010 at 14:02,  <toni.arte at nokia.com> wrote:
> Martin Geisler has done an awesome job with the EOL extension for Mercurial.

Good to hear that it's working for you!

> But there are a couple of changes/enhancements I would like to propose:
> 1. Do not care about the 'inconsistenteol' at all, i.e. if there are lone CR's in the file, let them be there.
> 2. Change the CRLF pattern from string '\r\n' to a regexp '\r+\n'.
> 3. Drop the support for Mac OS '\r' eol.

I suggest 2 and 3 should be reversed in position, but it all sounds
reasonable to me.

Are you in a position to actually implement these changes?

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list