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

Re: Setting svn:eol-style

From: Juanma Barranquero <jmbarranquero_at_wke.es>
Date: 2003-12-09 13:17:17 CET

On Thu, 04 Dec 2003 16:04:52 +0100 I wrote:

> No doubt the same problem
> would happen if you import a LF-delimited file with a svn:eol-style=CRLF
> rule, but I haven't tested that.

Yes, it happens; with an auto-prop:

  *.ini = svn:eol-style=CRLF

importing a LF-delimited .ini file and then checking out makes it to be
modified. And, as expected, the .svn/text-base version is LF delimited
the first time, but CRLF delimited after a "fixing" commit.

Interestingly enough, after a little chat yesterday on #svn, someone
(Doug Porter, I think?) was unable to reproduce the problem on Linux or
Windows, although he was using 0.32.1, IIRC. I've been able to reproduce
the problem with 0.33.1 and 0.34.0, on both Windows XP and 2K, but I
haven't tested 0.X.Y, X < 33.

I don't see anything in the 0.33.X change logs that would seem to be
related, but that could simply mean I don't know what to look for.
Anyway, the problem/bug is real*, even if seems to be a Windows-only
thing.

[*Though obviously not serious: a commit, or modifying the CRLF/LF
state of the file before importing to match the auto-prop, is enough;
but almost all import revisions in my local repository are followed by a
revision with svn:log="Fix auto-props."]

                                                                Juanma

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 9 13:17:59 2003

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.