I've been spending an increasing amount of time developing on Linux using vi and have run into the ^M frustration enough that I decided to implement the Hg end-of-line extension. I converted the repository to use LF as the native line ending. You can alter what your local native is in your .hgrc or repository level .hg/hgrc file.
Everyone should enable the EOL extension in their Hg configuration file:
[extensions] eol = ; Uncomment to change your local repository to CRLF for Windows ;[eol] ;native = CRLF
Here is the whole changeset if you want to see. It really is just a massive diff change CRLF to LF to nearly every file in the repository.
Please change your repository extensions and merge default into your branches as soon as possible!
No comments:
Post a Comment