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

Re: information about storing text-only files

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-02-03 00:45:42 CET

On 2/3/07, Frodak <frodak17@yahoo.com> wrote:
>
> --- Erik Huelsmann <ehuels@gmail.com> wrote:
>
> >
> > No, by default (e.g. without any svn:-properties
> > set), Subversion
> > doesn't modify any files and treats all files as
> > binary.
> >
> > Only when instructed to translate eols, there's a
> > special form
> > (normalized form or normal form) which the
> > repository is expected to
> > contain. The rules are simple and optimized for 'as
> > little translation
> > on the client side as possible':
> >
> > svn:eol-style Normal Form
> > native LF
> > LF LF
> > CR CR
> > CRLF CRLF
>
> Unfortunately, this seems to be where subversion text
> handling breaks down. Once it converts from one
> Normal Form to another, the diff shows that every line
> is different.
>
> I would think, ideally, that it would show the
> property change only as it is still a text file and
> only the EOL style has changed.

But subversion doesn't know about text files :-) It only knows it
needs to do certain transforms on special events in order to make sure
the user has the right eol style in his working copy. Nothing more.

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 3 00:46:05 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.