On 11/23/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
I'm doing a pre-commit diff of contributors.xml in (Windows) Eclipse
with subeclipse, and I'm seeing that every line is different, unless I
turn on the ignore-whitespace option.

I'm guessing I need to somehow configure my svn eof setting for
Eclipse (or for svn).

I don't see anything on the wiki talking about svn settings.

I see this struts page:

http://wiki.apache.org/struts/StrutsMaintenanceSvn

I talked with Bruno and he's not having to do anything under Linux
Eclipse, so it seems more likely to be a Windows SVN EOL problem,
especially since what docs I could find seem to indicate that all
non-binary source gets converted to LF (unix) on commit.

http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.4

Anyone else committing from windows?   If so, are you doing anything
special to configure svn?

Everyone should be setting their autoprops so that files have an svn:eol-style of 'native'. People working on *nix systems are "lucky" because native on *nix is what SVN calls native, but still, the autoprops should be set so that keywords are replaced as well. (As you pointed out, this is described on the Struts wiki page.)

If files have been added without the eol-style set properly, the autoprops settings will not fix those, since autoprops only take effect when new files are added to the repo. For existing files, someone will have to edit the properties to add eol-style.

--
Martin Cooper

Reply via email to