[Python-Dev] CRLF line endings

Antoine Pitrou solipsis at pitrou.net
Fri Mar 25 14:32:23 CET 2011


On Fri, 25 Mar 2011 09:12:53 -0400
"R. David Murray" <rdmurray at bitdance.com> wrote:
> On Fri, 25 Mar 2011 21:12:19 +1000, Nick Coghlan <ncoghlan at gmail.com> wrote:
> > Don't disable the commit hook, update .hgeol to flag that file as
> > requiring CRLF line endings.
> 
> Note however that we discovered that the server side hook looks at the
> .hgeol file in the *server's checkout*.  I don't know if Georg or Antoine
> have fixed this or not (it's a standard Mercurial plugin, so probably
> not).

We have "fixed" it by nulling the server's checkout (updating to it to
changeset 0000000000, that is). Unless someone logs in and manually
does "hg up" in that directory, it shouldn't happen again.

(but, yes, it's probably a bug or misfeature in hgeol)

Regards

Antoine.




More information about the Python-Dev mailing list