[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: rapidsvn feedback

From: Alexander Mueller <alex_at_littleblue.de>
Date: 2002-07-30 10:07:46 CEST

>
>
>>> * EOL style: some of your source files seem to have CRLF
>>> endings, and some just have LF endings. If you have a lot of
>>> cross-platform developers, you probably want to set
>>> 'svn:eol-style' to 'native' on everything. CVS does this by
>>> default, but SVN does not. If you don't set this property, I >
>>> > fear you're going to end up with a lot of flip-flopping of eol
>>> > > styles in the future.... which means you won't be able to
>>> see changes when you run 'svn diff'; the *entire* file will look
>>> changed.
>>>
>>>
>>That is a valid concern. Unix style it is then.
>>
>>
>
>No, I'm not saying you have to force LF endings on everything. If you
>set the 'svn:mime-type' property to 'native', then each file will
>appear to have the "native" eol-style in each developer's operating
>system. Win32 users will have working copies where every file has
>CRLF line-endings, and Unix users will have working copies where every
>file has LF line-endings. And these differences will be transparently
>hidden when committing and updating.
>
+1 for native EOL.
Received on Tue Jul 30 10:08:19 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.