【转】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:
- 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,
- unpack it to any directory, and using command line enter to the bin subdirectory where the svnadmin.exe tool is stored
- as written in the book, make dump of your repository with following command:
- 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.
- import dump data into new repository:
svnadmin dump c:\FullPathToOldRepository > dumpfile.bin
svnadmin load c:\FullPathToNewRepository < dumpfile.bin
That is, it worked for me like a charm.
出处:http://www.cnblogs.com/topiemie
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。