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

Re: What do you Hate about Subversion?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-02-02 22:54:11 CET

On 2/2/07, Jeff Smith <jsmith@robotronics.com> wrote:
> On Friday 02 February 2007 09:45, Erik Hemdal wrote:
> > I think that if you change any byte in the file, you've changed the
> > file and Subversion should not be in the business of changing any
> > files. I agree with Duncan that simple reversible changes for
> > convenience might be the exception.
>
> Is it not true that when I use auto-props with import (setting *.c
> files to svn:eol-style=native), that svn DOES change the line
> endings? Why are some people arguing that svn should not do what it
> already does? And why do you not understand the difference between a
> text file and a binary file? In a text file, there are NO special
> codes like \r or \n. Only EOL. Any version control system which is
> intended for multi-user editing source code needs to be aware of text
> files, and Subversion DOES. What is so hard to understand?

Subversion only does what it's being asked to do. If you don't ask for
svn:eol-style (with or without autoprops), you won't get eol style
conversion. If you don't like conversion on import, don't set your
autoprops, but add them later...

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 2 22:54:35 2007

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

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