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

Re: Property encoding (was: Error during svnadmin load (svnadmin: E125005: Cannot accept non-LF line endings in 'svn:log' property))

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Wed, 26 Oct 2011 11:54:24 -0500

On Wed, Oct 26, 2011 at 11:39 AM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
>
>> > Could svnsync mistakenly "fix" a binary property which happens to contain
>> > CR-LF byte sequences?
>>
>> Within the svn:* namespace there are no binary properties.
>>
>
> But if svn 1.8 defines a binary svn:* prop, then svnsync 1.7 will try and normalize its line endings :-(

That's one of those 'if it hurts, don't do it...' things. While you
always need to know if something is text or not to handle local text
conventions in a usable way, it would seem awkward for svn to assume
that revision contents are binary unless told otherwise, but have the
opposite convention for svn:* properties. Better to just never allow
non-text there.

-- 
  Les Mikesell
    lesmikesell_at_gmail.com
Received on 2011-10-26 18:54:57 CEST

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.