Am 15.01.2006 um 15:30 schrieb Manuzhai:
How smart is the "eof-style:LF" mode anyway. What happens if I edit
a file on windows with a CRLF-editor and add a few new lines with
CRLF
line endings in the middle of the file, will subversion automatically
replace them with LF-endings when I commit my changes?
I'm not sure what Subversion does, but I do know that Python strongly
dislikes with mixed line endings; so if you have a LF-ended file and
add some CRLF lines to it (though I'm not sure what Windows editors do
to the other line endings, they might rewrite them) it wouldn't work.
It doesn't matter much for myself (even though I primarily use editors
on Windows), but I think not being able to correctly read files in
Notepad is a PITA for starting Windows users, and I don't see what the
gain is from changing eol-style to LF only.
I agree with Manuzhai here: checking out a text file from Subversion
should give you the line-endings expected on that platform.
When you provide patches against tarballs, doesn't the patch utility
do the correct thing regardless of the line endings? In any case,
patches should be applied to checkouts, not distributed tarballs.
Cheers,
Chris
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev