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

Re: REPORT request failed

From: Thomas Böhne <TBoehne_at_adwin.de>
Date: Tue, 13 May 2008 13:46:45 +0200

Keith,

On Saturday 10 May 2008 02:56, Keith Lawless wrote:
> The problem is likely bad characters in the log messages that can't
> be send over HTTP. If you can identify which log messages contain
> invalid characters, you can use the svnadmin setlog command (on the
> server) to edit those message.

thanks for the very helpful answer. In case somebody else runs into
this problem, here is what I did to fix my repository:

First, I pulled all log messages from the repository, discarding the
acutal log output. For the erratic log entries, a line with the
revision showed up in stderr:

for a in `seq 1258` ; do svn log -r $a http://svn-server/svn/ ; done > /dev/null
svn: REPORT request failed on '/svn/!svn/bc/830'
svn: REPORT of '/svn/!svn/bc/830': 200 OK (http://svn-server)
svn: REPORT request failed on '/svn/!svn/bc/852'
svn: REPORT of '/svn/!svn/bc/852': 200 OK (http://svn-server)
svn: REPORT request failed on '/svn/!svn/bc/857'
svn: REPORT of '/svn/!svn/bc/857': 200 OK (http://svn-server)
svn: REPORT request failed on '/svn/!svn/bc/869'
svn: REPORT of '/svn/!svn/bc/869': 200 OK (http://svn-server)
...

For each line, I manually fetched the log message locally on the
server (bypassing http) like this:

svn log -r 830 file:///var/lib/svn/

After manually fixing the broken characters and saving it in a file
called msg, I used the svnadmin tool as Keith suggested:

svnadmin setlog /var/lib/svn/ -r 830 --bypass-hooks msg

The switch --bypass-hooks was necessary for me, otherwise svnadmin
complained.

Regards,
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-13 13:47:19 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.