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

Re: Migrating repository from Windows to UNIX and eol-style

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-06-29 00:56:19 CEST

On 6/28/2006 6:39 PM, Joe wrote:
> Ryan Schmidt wrote:
>> The svn:eol-style property and svnadmin dump have nothing to do with one
>> another. It sounds like you've just been checking in files with DOS
>> linefeeds, and without any svn:eol-style property. Wouldn't matter what
>> OS the server is running on; it'll just accept and store the bytes you
>> send it. If you send it DOS linefeeds, it'll store those.
> The files were typically created on Windows using gvim so each original
> file had CR-LF end-of-lines. I was under the (perhaps mistaken)
> impression that unless you specified something to the contrary,
> Subversion used native eol-style, which would be CRLF on Windows, but
> would "actually store the file in the repository using normalized LF EOL
> markers regardless of the operating system" (Chapter 7).

The part you quote is about svn:eol-style=native. The general statement
comes earlier in that section: "bytes are bytes".

>You seem to
> imply that one *has* to specify the svn:eol-style property initially,
> rather than getting the OS default. Is that correct?

I think that is correct. Subversion stores what you give it, *unless*
you ask it not to (via the svn:eol-style property).

Duncan Murdoch

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 29 00:57:36 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.