EOL extension

Mark Hammond skippy.hammond at gmail.com
Sun Nov 29 23:00:20 CST 2009


On 29/11/2009 7:52 AM, Martin Geisler wrote:
> Hi guys,
>
> I've been working a little on the EOL extension that will allow in-repo
> configuration of newline styles.

Excellent!

> Read its help
>
>    hg help eol

Is there a way to configure this extension such that "text files" 
automatically become native while doing the right thing with binary files?

For reference, 
http://www.zope.org/DevHome/Subversion/SubversionConfigurationForLineEndings 
has a little information about how subversion can be so configured. 
This has worked very well in my experience with subversion - a simple, 
default configuration gives the correct result in 100% of cases in my 
experience, while leaving very little risk a file with a "new" extension 
(ie, one that doesn't match a specific pattern) will be treated incorrectly.

Thanks,

Mark


More information about the Mercurial-devel mailing list