Subversion 1.1 has been out for over a month now, but svn 1.1.1 only just made it into Fink unstable the other day…
… and boy am I glad that it did (finally)! We've been having a couple of problems with the BerkeleyDB, in that it would sometimes just keel over, forcing me to try and recover it. Failing that, I'd have to restore from a backup or re-import the latest revisions. Ergh.
Subversion 1.1 brings a new storage filesystem, FSFS, which is supposed to be a lot less error-prone. Yay!
I found out how to convert the repositories from BDB to FSFS in a mailing list post, but here are the commands (to make it easier):
NOTE: This involves creating a brand new repository, so [NEW REPOSITORY] and [OLD REPOSITORY] cannot be the same.
svnadmin create --fs-type=fsfs [PATH]/[NEW REPOSITORY]
svnadmin dump [PATH]/[OLD REPOSITORY] > old.dmp
svnadmin load [PATH]/[NEW REPOSITORY] < old.dmp
mv [PATH]/[OLD REPOSITORY] [PATH]/[OLD REPOSITORY]-bdb
mv [PATH]/[NEW REPOSITORY] [PATH]/[OLD REPOSITORY]
That's it! (The last line move the old repository out of the way and the new one to the old position.)

0 Response to “Subversion 1.1 & converting to FSFS”