Again on EOLs
Shun-ichi GOTO
shunichi.goto at gmail.com
Sat Jun 7 07:13:23 CDT 2008
2008/6/7 hg user <mercurialuser at gmail.com>:
> So, has anybody any idea on why mercurial keeps changing my EOLs ?
In your case of between two windows, the way I recommend is
"do not use encode/decode".
Make the file with EOL you want, and commit it as-is (without encode).
Without encode/decode, mercurial keeps the file as-is (not normalizing to LF)
so you can get same EOL in both places.
--
Shun-ichi GOTO
More information about the Mercurial
mailing list