[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: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2007-02-05 18:11:44 CET

Frodak wrote:

>>> So how many EOLs are their in "\r\n\r\n\n" is that
>> 3,
>
> You've disregarded that the file could have mixed EOLs
> from Mac and Unix, only. There for a \r is a new
> line, and \n is a new line, and therefore had 5
> newlines.

That's pretty farfetched.... Why would something that didn't recognize
the original EOL put its own EOL anywhere nearby? If you have binary
transparent file access, you might concatenate several files from
different sources and have different sections with different styles, though.

> You've assumed to interpret \r\n as a
> single new line as in DOS.

And you have yet to suggest a better tool than svn to perform this
operation correctly.

> My point is that the number of new lines in a mixed
> EOL format is open to interpretation. Plain and
> simple.

And??? Let's interpret it then and move on.

-- 
   Les Mikesell
     lesmikesell@gmail.com
---------------------------------------------------------------------
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:12:01 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.