subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Shahaf" <...@daniel.shahaf.name>
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:39:35 GMT


On Wednesday, October 26, 2011 4:52 PM, "Bert Huijben" <bert@qqmail.nl> wrote:
> 
> 
> > -----Original Message-----
> > From: Markus Schaber [mailto:m.schaber@3s-software.com]
> > Sent: woensdag 26 oktober 2011 16:49
> > To: Subversion Users (users@subversion.apache.org)
> > Subject: Property encoding (was: Error during svnadmin load (svnadmin:
> > E125005: Cannot accept non-LF line endings in 'svn:log' property))
> > 
> > Hi,
> > 
> > Von: Stefan Sperling [mailto:stsp@elego.de]
> > > BTW, another trick to fix the issue is to copy the repository using
> > > svnsync. As of Subversion 1.6.3 (which is fairly old), svnsync
> normalizes
> > > all svn:* properties to LF line-endings automatically.
> > 
> > Out of curiosity: how do Svn and svnsync distinct between binary and text
> > properties?
> > 

Use the source -> svn_prop_needs_translation()

> > 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 :-(

Mime
View raw message