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

Re: [Bug] [Subversion 1.7] svn blame doesn't work for locally modified files

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 13 Oct 2011 13:31:24 -0500

On Oct 13, 2011, at 06:51, Andrey Paramonov wrote:

>>> I believe Subversion can automagically translate line ending sequences when transferring data to and from server. I use Windows, so I have CRLF sequences at the ends of the lines in my working copy. The question is: what is the EOL sequence on the server?

On Oct 13, 2011, at 07:06, Andrey Paramonov wrote:
> On 13.10.2011 15:54, Daniel Shahaf wrote:
>> What properties are set on your file?
> svn proplist returns nothing.

If the svn:eol-style property is not set on the file, then Subversion does not modify the file in any way as it's stored in the repository. The EOL sequence (and every other byte in the file) is the same on the server as it is on the client.

If, on the other hand, svn:eol-style is set to any valid value, then Subversion stores the file in the repository with LF line endings, and on checkout or export, the client translates the line endings to the style requested in the svn:eol-style property.
Received on 2011-10-13 20:32:14 CEST

This is an archived mail posted to the Subversion Users mailing list.