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

RE: what do i do now?

From: Campbell, Matthew A <Matthew.Campbell_at_Relizon.com>
Date: 2004-07-16 23:11:08 CEST

> > Anyway, so, repository fully recovered, and fsfs seems like
> quite a good
> > idea for OS X users.
>
> doesn't it just.
>

And it's pleasantly easy to migrate too! I didn't script my migration, but
I easily could have:

-----8<-----
cd $svnparentpath
for repos in */
do
    mv $repos ${repos}_bdb
    svnadmin create --fs-type fsfs $repos
    svnadmin dump ${repos}_bdb | svnadmin load $repos
done
-----8<-----

Keep in mind all my repositories had < 50 revisions at this time; I suspect
that with larger repositories there might be concerns using dump and load on
the same pipeline. Still, that's one extra line of code and two redirects.
(And a greater investment in wait time, admittedly.)

Kudos to the team for something this well-designed. A backend migration
doesn't have to be this easy, but I sure am grateful that it was! It still
boggles my mind a little bit that ViewCVS didn't hiccup, handling both
repository types transparently. Behold the power of a good abstraction
layer: It's a Good Thing(TM). :)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 16 23:17:30 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.