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

Invalid character "/" in revision list

From: Thomas Gier <thomas.gier_at_qleo.de>
Date: Wed, 14 Dec 2011 17:10:26 +0100

Hello,

this is my first post to the list so first of all I'd like to say hello
to everybody :).

I'm stuck with a problem for which even google doesn't seem to find a
solution, so I decided to post to this list. We're using SVN 1.5.1
(r32289) and access our repository with linux, mac (SmartSVN, IntelliJ
plugin) and windows clients (Eclipse plugin, TortoiseSVN)

Problem:
Loading a dump into a repository fails with "Invalid character "/" in
revision list".

After many hours of trying and searching for fixes I decided to take a
closer look to the binary files under <repo home>/db/revs. Since I know
the affected revision (12943), I inspected the file <repo
home>/db/revs/12/12943. This file contains a line similar to this:

/path/to/some/file:1234,1235,1237/path/to/some/other/file

Other lines never have a path except at the beginning but never inside
the revision list and they always end with a line feed (0A in binary).
This particular line however doesn't. Editing the file with an hex
editor and putting an 0A at the correct position (while preserving as
much of the revision numbers as possible) seems to do the trick.

I know that by fiddling with these entries the mergeinfo will get
useless for this particular file/revision. I really don't like the idea
of messing around like this but I need to make sure that the dumps
remain usable. My backup strategy is dependent on usable dumps which are
created every night and moved off-site. If I can't recover from a
breakdown using the latest dump, I'm in serious trouble.

So here are my questions:
- Does anybody else have had this or a similar problem, too? What did
he/she do to fix it?
- How can this happen? Does anybody have hints/tips for further
investigation of the cause of this mess?
- Is there a way to correct this issue without using a binary editor on
the db files?

Thanks a lot for reading. Any comment is much appreciated.

Cheers
Thomas Gier
Aachen, Germany
Received on 2011-12-14 17:11:01 CET

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.