harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: EOL differences in svn diffs
Date Fri, 31 Mar 2006 09:18:04 GMT
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 (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message