[Python-Dev] Mercurial migration: help needed

"Martin v. Löwis" martin at v.loewis.de
Sat Sep 5 20:04:29 CEST 2009


>> 2. Allowing text files to be checked out in whatever form the user
>> prefers seems complicated. The alternative would likely be to say test
>> files are checked out in "native" form. That works, but would irritate
>> me as I work on Windows, but prefer strongly to use LF line endings
>> (yes, I realise that makes me an oddball...) I'd put up with it if it
>> was the consensus to do this, of course.
> 
> It's consensus, and it's also what subversion does, and CVS did.

Following up to myself: you might want to make it a feature that
"native" is configurable, per user or per repo. It should default
to CRLF on Windows, but you might want to set it to LF on your
system. In that case, the extension would have just its checking
functionality.

Regards,
Martin


More information about the Python-Dev mailing list