On Wednesday, October 26, 2011 4:52 PM, "Bert Huijben" <b...@qqmail.nl> wrote: > > > > -----Original Message----- > > From: Markus Schaber [mailto:m.scha...@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:s...@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 :-(