[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: Hilco Wijbenga <hilco.wijbenga_at_gmail.com>
Date: 2007-02-02 17:19:08 CET

On 2/2/07, Jeff Smith <jsmith@robotronics.com> wrote:
> Respecting text files does not mean, "oh, now there is no such thing
> as a 'binary' file". I think it should default to binary treatment,
> which it does. The only question is whether a "mixed line ending
> style" text file is in fact a text file. How could anybody think that
> it is not?

So how is a file with mixed line endings supposed to be interpreted then?


Does that mean




What about \n\r\n? I can see three possible interpretations.

I don't see how a file with mixed line endings could be interpreted
without ambiguity.

> If there is ANY file that requires special mixed EOL
> styles for some purpose, then they are NOT TEXT FILES. So ask the
> user!

I do hope that doesn't mean Subversion is going to become interactive?
A pre-commit script that simply refuses the commit if a "text" file
has mixed line endings should work nicely.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 2 17:19:37 2007

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