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

Re: Recovering repository with multiple missing rev/ files

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sat, 31 Jul 2010 06:50:38 +0300

Eiren Smith wrote on Fri, Jul 30, 2010 at 17:22:43 -0400:
> On Jul 30, 2010, at 3:41 PM, Daniel Shahaf wrote:
>
> > Stefan Sperling wrote on Fri, Jul 30, 2010 at 20:05:16 +0200:
> >> On Fri, Jul 30, 2010 at 01:57:12PM -0400, Eiren Smith wrote:
> >>> Unfortunately, it appears I cannot create dump files from revisions
> >>> after a missing revs/ file gap. All the dumpfiles I created which
> >>> began with a revision past a point of continuity were unusable.
> >
> > Did you pass --incremental and/or --deltas flags to 'svnadmin dump'?
>
>
> Not in the case I described in my earlier post. But I did experiment with
> --incremental and the result there was a tiny little dumpfile, which perhaps
> just had one revision in it.
>

cat $dumpfile | grep '^'Revision-number:

> I didn't try --deltas. The page
>
> http://svnbook.red-bean.com/en/1.2/svn.ref.svnadmin.c.dump.html
>

This page is a couple of years old, please try the 1.5 or 1.6 book.

> says, "... deltified dumpfiles are more CPU intensive to create ..." which
> makes me think the deltas get recalculated by --deltas, not just grabbed from
> the revs/ files directly. So it might not help, huh?
>

You can sit here and speculate whether or not it would work, or you can try the
command for yourself and see for yourself whether it works.

> /eiren

Daniel
(echo "Try it and see" >> ~/docs/quotes-I-want-on-T-shirts.txt)
Received on 2010-07-31 05:53:27 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.