--[SPAM]--Re: eolext LF CRLF surprises.

Martin Geisler mg at aragost.com
Wed Aug 31 08:08:32 UTC 2011


Jouni Airaksinen <Jouni.Airaksinen at descom.fi> writes:

> Frankly I'd prefer if Mercurial would know if the eol has to be used
> and enables it automatically if it's set in the repository (ie. make
> it default extension). Always the hassle here with these user specific
> settings and occasionally we've ended up with mixed eols in files.

Yes, that would be convenient when it works -- but very annoying if it
ever fails and you end up with corrupt files. That is why Mercurial has
a policy of not messing around with your data by default.

If you are in a trusted environment, then you can ask people to run my
projrc extension. That will make Mercurial read .hg/projrc in addition
to .hg/hgrc and the .hg/projrc file is copied from the server to the
clients when they pull.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/



More information about the Mercurial mailing list