【转】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 @   申健  阅读(1584)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
点击右上角即可分享
微信分享提示