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

svn:log issues with svnsync

From: Emmanuel Blot <manu.blot_at_gmail.com>
Date: Fri, 22 May 2009 19:48:34 +0200

Hi,

I'm facing an issue with svnsync and svn, about svn:log property

Context:
Trying to sync a remote (http://) repository with a local (file://) repository
 Remote server runs Linux Debian Sid w/ SVN 1.5.6
 Local machine runs Mac OS X 10.5.7 w/ SVN 1.6.2
 ~/.subversion/servers is configured to use SERF library for this connection

Error message:
  "svnsync: Error retrieving replay REPORT (125005): APR does not
understand this error code"
which is, well, not very detailled ;-)

I've reverted back to use NEON for sync'ing, and the error message
gives the actual error:
  "svnsync: Cannot accept non-LF line endings in 'svn:log' property"

It appears the remote server contains invalid log message (which has
been produced with a hook script, I believe, but which the issue has
not been detected by the server by the time of the original svn:log
message submission)

The trouble is that svn is neither able to fix or help fixing the error:
> svn pe svn:log -r 37 --revprop http://server/repos
  svn: Inconsistent line ending style
> svn pg svn:log -r 37 --revprop http://server/repos
  svn: Inconsistent line ending style

I guess I could delete the svn:log property and re-create it, but I'd
lose the original log message ;-(

To sum up the issue(s):
  * libserf does not seem to be able to report the issue, and fails
with a somewhat cryptic error message ;-)
  * svn server (mod_dav_svn 1.5.1 by the time of the repository
submission) has failed to detect the mix of line endings
  * svn propget refuses to give the log message: even if the message
contains incorrect line endings, it would be nice to *retrieve* it
from the server

Cheers,
Manu

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2352954
Received on 2009-05-22 19:49:11 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.