Re: svn dump failure with bad revison
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Fri, 21 Oct 2011 15:24:28 -0500
On Oct 21, 2011, at 11:04, Stefan Lock wrote:
> we are using subversion 1.6.11 (r934486) with FSFS database on CentOS and i get the following error while using svnadmin dump:
That sounds like a bug in Subversion... if the file could be committed, then we should be able to dump or otherwise deal with it, even if the name is unusual. I'd recommend you try the latest version of Subversion 1.6.x and see if the problem persists. You could also try 1.7.0 but you may want to wait on upgrading important systems to that version due to other issues you can read about on the mailing list.
> As I read in the FAQ:
The failure is in svnadmin dump, so the next svndumpfilter command isn't even getting run; it's failing before that.
> After this I tried:
You got it mostly right:
$ svnadmin help dump | head -n 1
You just forgot the "-r" switch before your revision range.
svnadmin dump REPO -r 0:8233 > REPO.dump
If you don't plan to filter the dump, you can save quite a lot of space by using deltas:
svnadmin dump REPO -r 0:8233 --deltas > REPO.dump
|
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.