[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-10 12:46:54 CEST

On 10/9/2006 11:04 PM, Les Mikesell wrote:
> On 10/9/06, Duncan Murdoch <murdoch@stats.uwo.ca> wrote:
>
>> 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.
>
> That's fine as long as you can dictate that everyone involved has to
> use the same tools. What happens when you have to share text files
> with someone who has made the opposite choice?

Obviously then one of us will have to worry about conversion, and it'll
be error prone. However, it isn't really a big problem, in that a smart
editor will usually get the EOL style right by looking at a file: it's
only new files that are likely to be wrong. So you need to be careful
to agree on standards at the beginning of the conversation, and keep an
eye out for mistakes.

It's not exactly a unique problem. It's just the same thing with word
processor files: I receive .doc, .wpd, .odf, and .rtf, and it's a bit
of a pain when I get one that I don't use a lot, but I think it would be
a lot worse if the communications channel tried to do automatic
conversions for me.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 10 12:47:50 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.