Hi,
I've recently fixed a couple of files without any svn:eol-style setting
and it has generated big diffs.
I think what's happening is that when svn:eol-style gets set on a file
that didn't have it, the file gets "normalised" before committing. And
normalisation happens to mean "convert to unix style". So if the file
was originally committed without svn:eol-style, but from a unix machine,
then setting svn:eol-style doesn't cause any diffs. If the file was
originally committed from a Windows machine (or Mac), however, then
every line in the file gets updated :-(.
I'll therefore stop adding svn:eol-style props to files. The nuisance of
the diff is greater than the gain I think; unix users can live with the
occasional "^M" appearing in their editors, and most Windows editors can
handle unix line-endings these days (except Notepad!).
But it would be great if people could check that their svn "auto props"
are set to add svn:eol-style on new files.
Regards,
Simon
- SVN and eol-style: native Simon Kitching
-