【转】Failed to load module for FS type ‘bdb’ in TortoiseSVN 1.6.x

http://www.robertkan.net/blog/2009/05/15/failed-to-load-module-for-fs-type-bdb-in-tortoisesvn-16x

 

Today I’ve met small problem with my beloved TortoiseSVN client. I was in need to access some old repository stored locally on my computer – for newer projects I’m usingdedicated Debian based SVN server. Anyway, trying to access to my local repository via TortoiseSVN has resulted with following message:

Failed to load module for FS type 'bdb'

After quick Googling it appeared that from branch 1.6.x, TortoiseSVN doesn’t support local file:/// repositories based on BDB and they need to be converted to new FSFS format using ‘svnadmin’ command line tool as it is explained inSVNBook. As ‘svnadmin’ tool is not present in TortoiseSVN, some additional work is needed.

Finally I did in following way:

  1. download and  Tigris build of SVN (it was svn-win32-1.6.1.zip in my case). I’ve tried both 1.5.x and 1.6.x version of CollabNet’s SVN but apparently they do not support local BDB as well,
  2. unpack it to any directory, and using command line enter to the bin subdirectory where the svnadmin.exe tool is stored
  3. as written in the book, make dump of your repository with following command:
  4. svnadmin dump c:\FullPathToOldRepository > dumpfile.bin
  5. create new repository in choosen directory, you can use TorotoiseSVN for it as well, now it won’t ask you for data storage format as BDB is disabled, so it will use FSFS.
  6. import dump data into new repository:
  7. svnadmin load c:\FullPathToNewRepository < dumpfile.bin

That is, it worked for me like a charm.

posted @ 2011-04-28 13:19  申健  阅读(1568)  评论(0编辑  收藏  举报