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

Re: How to remove all the svn:eol-style native from the repository?

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-10-09 20:45:21 CEST

On 10/9/2006 2:11 PM, Les Mikesell wrote:
> On Mon, 2006-10-09 at 12:41 -0400, Duncan Murdoch wrote:
>>>> My advice is that it would be great if subversion could overload
>>>> the svn:eol-style property in the client configuration (or/and in
>>>> the command lines options), but that's an other story.
>>> It would be great if text was portable. It isn't.
>> Sure it is, if you use the right tools. There are tools that don't
>> handle Unix style text, but I've found them easy to avoid.
> I guess we have different definitions of 'portable'. Mine
> would be that you don't need special tools. And as long as
> you do, why not use the one that fixes it in the right place?

I don't need special tools. The editor (Textpad) I use on all text
files was chosen before I started working on Unix-style files. Same for
most of the other tools I use, with the exception of the Cygwin ones,
which I adopted around the same time, not coincidentally. I don't use
Notepad, but I avoid it because it's a piece of crap in so many ways,
not just this one.

The reason the native eol-style property is a bad idea is because it
means the copy of the file in your working copy is not the same as
someone else's. You can only transmit files back and forth by
committing and checking them out. You can't pass someone a thumb drive
with a file on it (or email a file, or pass one on a CD, etc.) and
expect them to only see the changes you made: they'll also see all the
changes svn made, at the end of every line. You can't move whole
working copies from machine to machine, because they're not the same

My editor used to default to CR-LF style text files, and that caused
occasional problems for the Unix users when I committed the wrong EOLs,
but I've got it set to use Unix style all the time now, and it's just an
easier way to live.

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Oct 9 20:46:14 2006

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.