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

Re: Is it possible to upgrade an older db version?

From: Bryan Donlan <bdonlan_at_gmail.com>
Date: 2004-08-10 19:29:57 CEST

On Tue, 10 Aug 2004 14:10:08 +0100, Maurice R. Kelly
<subversion@chatswood.org.uk> wrote:
> Max Bowsher wrote:
>
> > Maurice R. Kelly wrote:
> >
> >> From what I've read in this list's archives (and other places) it seems
> >>that I'm probably looking at an incompatibility between db versions
> >>(I've created a new test repos and it interacts fine with Apache). I'm
> >>now running 4.1.25 but in fitting with my luck, I have no idea what the
> >>previous version was.
> >
> >
> > od -A d -t d4 /path/to/repos/db/__db.001 | less
> >
> > Look through the output. Somewhere in the first 200 bytes or so, you will
> > see one of the sequences:
> > 4 0 14
> > 4 1 25
> > 4 2 52
>
> Okay - my old repositories appear to use 4.2.52:
> 0000032 0 4 2 52
>
> > Now you've done that, you (compile | find a precompiled binary of)
> > subversion linked with the appropriate BDB version.
>
> Right, I'll try to obtain (source or binary) BDB 4.2.52 and compile it
> up. Can I use some of the tools provided by BDB in order to produce the
> dump (as I presume Subversion simply wraps around DBD routines when
> producing dumps)?

Subversion uses its own dump format - it's designed to be independent
of any particular method of storing the actual data, so it can be used
for things like converting to fsfs. So you'll have to compile
subversion with BDB 4.2.52.

-- 
bd
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 10 19:30:18 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.