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"

Isn't there a server config file that will capture this? (or do we have
to run this as a daily cron job to label new files!)

Regards,
Tim

>> 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
> 

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

Reply via email to