subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Les Mikesell <lesmikes...@gmail.com>
Subject Re: Property encoding (was: Error during svnadmin load (svnadmin: E125005: Cannot accept non-LF line endings in 'svn:log' property))
Date Wed, 26 Oct 2011 16:54:24 GMT
On Wed, Oct 26, 2011 at 11:39 AM, Daniel Shahaf <d.s@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@gmail.com

Mime
View raw message