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

Re: corruption in repository

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2004-11-11 10:36:48 CET

Sebastian Kügler wrote:
> I am using svn for some time now. From time to time I encounter problems
> with a working copy which is not anymore usable for svn.
>
> This usually shows up like:
>
> $ svn update
> svn: Malformed XML: mismatched tag at line 128
>
> (svn cleanup complains the same way.)
>
> Trying to recover the repository:
>
> $ svnadmin recover .
> Please wait; recovering the repository may take some time...
> svn: DB_RUNRECOVERY: Fatal error, run database recovery

Ahem, just for your info, 'svnadmin recover' is not to be run on a
workingcopy.

> Usually, I can 'fix' things by moving my working copy out of the way,
> checking out again, merge the changes by hand and then check them back
> in. (This is pretty annoying and often is tedious work, as you might
> understand.)

Something is corrupting the metadata that Subversion stores in the .svn
subdir(at least that's what I think it is). Did you by any chance run some
stupid search-and-replace tools on it(stupid in the sense that they ignored
write protection and 'hidden' subdirs)? Anything else that might have touched
these? Is there any pattern in when the corruption occurs?
It would also be interesting to have the corrupted XML file and know what
exactly is wrong with it.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 11 10:37:22 2004

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.