yes - eol-style is the solution here, and I thought SVN did the right thing for obvious text files...

geir


Archie Cobbs wrote:
Tim Ellison wrote:
Can we set up the server to recognize .java / .xml / etc files as
text/plain native types?

Sounds good to me....

$ find . -name \*.java -o -name \*.xml \
    | xargs svn propset svn:eol-style native \
  && svn ci -m "Set native EOL style"

Etienne Gagnon wrote:
Actually, you need to set 2 properties:
  svn:mime-type : text/plain
  svn:eol-style : native

Hmm.. in my experience, only "svn:eol-style native" is required,
as by default subversion treats files as text files..

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com



Reply via email to