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

Re: Upgrade Your Repository!!

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-06-05 21:40:43 CEST

cmpilato@collab.net writes:

> With the commit of revision 2093, Subversion now uses an incompatible
> Berkeley DB schema. If you wish to use post-2092 Subversion with your
> existing repositories, you need to:
>
> 1. Make sure you have a pre-2093 version of Subversion compiled.
> 2. Use it to `svnadmin dump' your repositor(y/ies).
> 3. Compile the head Subversion.
> 4. Use it to `svnadmin load' your dumpfiles from step 2 into new
> repositories.

This is overly complex. 'svnadmin dump/load' both use only the public
svn_fs.h API, which hasn't really changed. Just go ahead and build
the latest svn, and go ahead and dump/load afterwards:

  $ svn up
  $ make && make install
  $ svnadmin dump repo > dumpfile
  $ svnadmin create newrepo
  $ svndamin load newrepo < dumpfile
  $ mv repo trash; mv newrepo repo

If you're feeling really playful:

  $ svnadmin create newrepo
  $ svnadmin dump repo | svnadmin load newrepo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 5 21:42:37 2002

This is an archived mail posted to the Subversion Dev mailing list.