幾年來,我習慣把工作上的文件檔案與程式檔案都用SVN來管理,而且只要一段時間把SVN資料庫備分即可。但最近公司電腦掛了,而我也換了4核心的新電腦。今天早上,想要把工作檔案更新到資料庫上(Commit)時,發現出現Failed to load module for FS type 'bdb'這樣的錯誤訊息,而不給Commit。
Google了一下,發現原來這是資料庫新舊的問題。只要dump出來,再重新create新的資料庫,然後再load進去就可以了。
找到的資料如下。(為了尊重原作,我一個字都沒改XD)
Failed to load module for FS type ‘bdb’ in TortoiseSVN 1.6.x
May 15th, 2009 by Robert
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 in SVNBook. 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:
svnadmin dump c:\FullPathToOldRepository > dumpfile.bin
4. 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.
5. import dump data into new repository:
svnadmin load c:\FullPathToNewRepository < dumpfile.bin
That is, it worked for me like a charm.
2009年8月6日 星期四
訂閱:
張貼留言 (Atom)
信仰 X 貢丸店 X 搬芒果
這篇文章,想跟大家談談 信仰 。 信仰,一般人會想到的是信教,無論是佛教、基督教或懶......惰的教。 但我個人對信仰的解讀比較不同,我所認知的信仰比較偏向信念。也就是說,不單單是信教般地相信一個神或神的代言人所講的話(佛經、聖經、某某上人語錄...),而是「任何的人事物讓你...

-
小孩一生病,大人急得要死;老人生病,就只是"哦",這種偏淡定的感覺。這是一個十分常見且充斥你我身旁的事,只是一般人在傳統禮教及道德枷鎖下,都不願意正視它。因為正視之後,可能會因此被扣上"不孝"的大罪帽。隨著時代潮流,這個中國傳統文化美德也幾...
-
有工作的人,通常都很少運動。 最近有同仁提議可以創一個 健康跑跑社 ,定期大家一塊慢跑運動,達到健身或減重的效果。 昨天社團第一次活動,也算是開社。 有三位女俠(Maruko, Shelly, Any)及二位壯士(穎仔, 平仔)的出席相挺,真的很感謝。 不過,健康是自己的,運動了...
-
這篇文章,想跟大家談談 信仰 。 信仰,一般人會想到的是信教,無論是佛教、基督教或懶......惰的教。 但我個人對信仰的解讀比較不同,我所認知的信仰比較偏向信念。也就是說,不單單是信教般地相信一個神或神的代言人所講的話(佛經、聖經、某某上人語錄...),而是「任何的人事物讓你...
沒有留言:
張貼留言