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

Re: Multiple issues related to eol-style, tangently perhaps

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-07-21 05:33:38 CEST

On Jul 20, 2005, at 7:49 PM, Vincent Starre wrote:

> interesting how that isnt remotely true. You are aware of the eol-
> style "native", perhaps? When explicitely
> told to do so, svn will mangle the line-endings for you. This is
> not at all different.

You're missing a key piece of the svn philosophy: "never lose data".

Yes, svn will mangle data when you ask it to, but _only if the change
is reversible_. So it will only convert a file to "native" or LF or
CRLF line endings if the file has consistent line endings to begin
with. If the file doesn't have consistent line endings, then the
mangle operation is necessarily a lossy one, and svn refuses to go
there. That's why you see the message telling you to go fix the line-

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 21 05:35:07 2005

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.