harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: EOL differences in svn diffs
Date Fri, 31 Mar 2006 21:24:33 GMT


Tim Ellison wrote:
> Ah, thanks Leo.
> 
> I've set up these options on my svn client so let's see if that fixes
> it.  Still seems strange that every client has to do this rather than
> making it a server-side config.

I think that's the cool thing - the server stores in platform neutral, 
and just mods when it comes down to the client.  I thought the same 
thing at first...

> 
> I assume that we need to slam all the existing files now.

I don't think so...  try it.

geir

> 
> Regards,
> Tim
> 
> Leo Simons wrote:
>> Please see http://www.apache.org/dev/, in particular
>>
>>   http://www.apache.org/dev/svn-eol-style.txt
>>
>> LSD
>>
>> On Fri, Mar 31, 2006 at 06:08:44AM -0500, Geir Magnusson Jr wrote:
>>> no, it should be able to be set that way once, I thought....
>>>
>>> Tim Ellison wrote:
>>>> 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
>>>>>
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message