[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: Jeff Smith <jsmith_at_robotronics.com>
Date: 2007-02-05 17:26:38 CET

On Monday 05 February 2007 06:45, Frodak wrote:
> --- "Victor A. Wagner Jr." <vawjr@rudbek.com> wrote:
> > >So how many EOLs are their in "\r\n\r\n\n" is that
> >
> > 3,
> >
> > >4, or 5 blank lines in my text file. Because it
> >
> > does
> >
> > >matter to the formatting of the file. Just because
> >
> > a
> >
> > >c compiler doesn't care, doesn't mean that it is
> >
> > not
> >
> > >important to my perl POD output.
> >
> > it's 2 blank lines... the first \r\n is at the end
> > of a non-blank line <sigh>
>
> 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. You've assumed to interpret \r\n as a
> single new line as in DOS.
>
> My point is that the number of new lines in a mixed
> EOL format is open to interpretation. Plain and
> simple.
>
> > and, IF your perl program "cares" about it, it's
> > BROKEN (the comment
> > that started this entire thread)
>
> man perlpod. You'll be enlightened about how the
> number of blank line can make a difference.

OK, From the man:
> Translators are available for converting Pod to various formats like
> plain text, HTML, man pages, and more.

Hmm.. even requires a "translator" just to convert from plain text.
Translation: the man page claims that your perlpod doc is not plain
text, so DO NOT try to import it with auto-props setting
svn:eol-style. Your forseen problem with perlpod is irrelevant to
this discussion.

I hope you can all reboot your brains... it's quite refreshing. Helps
if you, at least in the USA, had a nice long Super Bowl party.

Then you'll realize that, hey, if I had a perlpod document with mixed
eol and I imported to svn (with the auto-props we are talking about),
there is no way it could hurt that svn tried to fix it the eol style
because the dang file was already broken... We gain nothing by
crashing instead... hmmmm... your Linux may never need a reboot but
aparently some brains run on Microsoft products.

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