Currently, in order to ensure the subversion property eol-style is set to native for each new file added to our project, we have to add this to the ~/.subversion/config file on each of our developers machines:
[miscellany]
enable-auto-props = yes
[auto-props]
*.java = svn:eol-style=native
Is there a way to do the equivalent on the svn server?
No there is not.
You can use a hook scripts to look for the property to be set or not, but apart from that it’s not possible. Subversion, differently than CVS, cannot change the content of the code coming from a commit.
The SVN book includes a note about this question: