幾年來,我習慣把工作上的文件檔案與程式檔案都用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 搬芒果
這篇文章,想跟大家談談 信仰 。 信仰,一般人會想到的是信教,無論是佛教、基督教或懶......惰的教。 但我個人對信仰的解讀比較不同,我所認知的信仰比較偏向信念。也就是說,不單單是信教般地相信一個神或神的代言人所講的話(佛經、聖經、某某上人語錄...),而是「任何的人事物讓你...
-
回想著2008/08/06那天,同樣地寫著這樣的布落格文章標題,只差由MSN Spaces變成地圖日記了。 對我而言,原本加入地圖日記寫Blog的主要誘因是想增加文章的曝光率,並且地圖日記的會員也能相互連結,相互留言,能讓寫文章的我得到些回響,而這也是增強創作的動力之一。地圖...
-
我常常思考,人生的目的是什麼?人活著是為了什麼?雖然這些問題對大多數人來說都不是問題,但我卻一直想探其究竟。 想了好久,覺得人生的目的是「追求幸福感」。然而「追求幸福感」的成功與否,包含了主客觀的條件。主觀就是「要」或「不要」,客觀就是「能夠」或「不能夠」。主觀條件相對單純,因...
-
好幾年沒看八點檔。上個月某天跟老婆在家吃飯,氣象新聞剛完,順便看看現在八點檔都演些什麼。結果上演的是喬家大院。看了五分鐘之後,戲正進行到主 角喬東 家選包頭新大掌櫃;並且在眾掌櫃面前向新大掌櫃行大拜之禮以託付包頭生意。這一幕讓我吃驚。原因是,商人在商言商,居然會如此重視人才,以禮...
沒有留言:
張貼留言