[subversion]轉移(從windows -> Linux)

回覆文章
schumi
Site Admin
文章: 696
註冊時間: 2004-04-15 14:30:34

[subversion]轉移(從windows -> Linux)

文章 schumi »

# Fedora 10 svnserve version is 1.6 , and Ubuntu 8.10 is 1.5. If you copy your svn repository from 1.6 format to 1.5.
Client will get error message "SVN Error: Expected fs format between ‘1’ and ‘3’; found format ‘4’".
You can cat your svn repository format
$ cat repos/db/format
4
# You need to upgrade your subversion package to 1.6. You need add the backports to your apt list.Then install the new subversion package from packports.
# 1. Add this line
deb http://www.backports.org/debian lenny-backports main contrib non-freeto your etc/apt/sources.list.
2. Run apt-get update
3. All backports are deactivated by default (i.e. the packages are pinned to 1 by using NotAutomatic: yes in the Release files, just as in experimental). If you want to install something from backports run:
apt-get -t lenny-backports install subversion
schumi
Site Admin
文章: 696
註冊時間: 2004-04-15 14:30:34

從Linux轉移到Linux

文章 schumi »

http://cswang.org/?p=1040

1.svnadmin dump 檔案庫 > dumpfile
2.Upload Dump File
建立資料庫….
3.svnadmin create 檔案庫
4.svnadmin load 檔案庫 < dumpfile
Job Done.
回覆文章

回到「Linux」