Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: svn properties

Re: svn properties

From: Frank Gevaerts <frank_at_gevaerts.be>
Date: Sun, 13 Jun 2010 23:28:24 +0200

On Sun, Jun 13, 2010 at 04:26:24PM +0200, The Seven wrote:
> Am 13.06.2010 15:17, schrieb Rafaël Carré:
> > About eol-style, I think we should just ignore this one and force unix
> > line endings in every file.
>
> I have already seen eol-style cause trouble:
> I have my working copy on a linux server, but am using TortoiseSVN on
> Windows to do SVN operations conveniently. So sometimes I do an svn up
> from Windows via a Samba share on the server.
> Now, if eol-style is set to native, this causes some scripts to get CRLF
> line endings, which will result in very weird errors when trying to use
> them on the linux box the next time. Some of those took quite some time
> to get figured out.
>
> So from what I can tell, they do more harm than they can prevent. Feel
> free to point me to a different scenario where they actually help.

Setting eol-style to native clearly is wrong then. I don't think that
means we should drop eol-style entirely though, setting it to LF is
probably a better idea

Frank

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
Received on 2010-06-13

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy