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

Re: How to recover a very old repository?

From: Dale Mellor <dale_at_rdmp.org>
Date: Sun, 06 Jun 2010 11:03:01 +0100

On Sun, 2010-06-06 at 10:27 +0200, Erik Huelsmann wrote:
> Hi Dale,
>
> On Sun, Jun 6, 2010 at 9:49 AM, Dale Mellor <dale_at_rdmp.org> wrote:
> > On Sat, 2010-06-05 at 17:15 -0400, Karl Fogel wrote:
> >> Dale Mellor <dale_at_rdmp.org> writes:
> >> >I've recently pulled an old SVN repository off a disk image from a
> >> >server I had many moons ago, and now have the repository on a local file
> >> >system. Whenever I try to do anything, SVN complains that it is format
> >> >'2' instead of '3' or '5'. What can I do to recover a working tree of
> >> >whatever is in there?
>
>
> I found that 'format 2' repositories have been created between Aug
> 2003 and Nov 2003. Which seriously limits the number of releases that
> you could have been running at the time. However, if you changed
> architectures since then, I don't know how to help you: BDB files are
> architecture dependent and non-portable. If you still have
> availability of a compatible architecture, you could build one of the
> very old releases from source to recover your repository. If that
> succeeds, I would create a dumpfile instead of a checkout: those can
> be loaded in today's Subversion.

Thanks, that was useful information. I worked out that I was using
subversion-0.33.1. I wouldn't have thought the architecture was a
problem as I'm still using an x86-32 class processor (let's be honest,
processor development hit the buffers when the 3GHz Pentium came
out...), but I can't get Berkeley DB to work. It seems I need an
eclectic mix of versions of libdb[234], but everything I've tried fails
to read the DB files.

All I can say is I didn't use subversion very long, moving on as soon as
TLA came out, and now three or four generations on I'm using GIT; I'll
never look back again! (At work the clowns are still using CVS...)

Thanks for your help,
Dale
Received on 2010-06-06 12:03:46 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.