[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: Jeff Smith <jsmith_at_robotronics.com>
Date: 2007-02-05 18:48:34 CET

On Friday 02 February 2007 17:00, Erik Huelsmann wrote:
[...]
> [Frodak]> 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.

I'm not sure what this means because it appeared that svn:eol-styles
was meant to solve the very problem where Frodak said it "breaks
down"... svn has a design flaw? Do I misunderstand what Frodak just
said is wrong:

[example text imported with svn:eol-style=native]
this is\r
plain text\r

[translated normalized in repository]
this is\n
plain text\n

[check out to Win]
this is\r\n
plain text\r\n

[now using `svn diff` shows every line 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.

I'll ignore that you contradict yourself, but, is there some
unmentioned aspect of a "text file" that svn does not know about?
We've already acknowledge that diff shows diff context, and that svn
even supports svn:eol-style completely relying on the strict rules of
a text file.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 5 18:49:23 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.