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

Re: Poll: do we really need newline conversion?

From: Chonger <jcheng_at_johncheng.dhs.org>
Date: 2001-12-11 18:30:00 CET

----- Original Message -----
From: "Karl Fogel" <kfogel@newton.ch.collab.net>
To: <dev@subversion.tigris.org>
Sent: Tuesday, December 11, 2001 9:20 AM
Subject: Poll: do we really need newline conversion?

> Recently, some people posted asking whether Subversion should even
> bother to perform newline conversion.
> On pondering the question, I have to admit they have a point. :-)

In the design specs it says text files undergo line-end conversion by

My feelings are that line-end conversion should be turned off by default,
and should only be turned on (or performed) on the client side if he
chooses to.

I think by default text files should always just use LF for newlines, since
most Windows based editors used by people who would use
Subversion or CVS can handle the newline issue. In a mixed shop, this
means no matter what type of OS you use, you always know what kind
of newline you'll be facing and there's no surprises. In a Windows shop,
you'll only have to either
  1. Not use Notepad or some editors that can't handle LF for newlines.
  2. Turn on newline conversion in your client (via a config file, environ
  variable, etc).
So there'll be less work for every body.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:52 2006

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