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