Subversion

From Richliu's wiki

Jump to: navigation, search

subversion 有 svnserve 可以用.

架起來以後

  • import 指令
#svn import {sourcetree} svn://{target}/{repository}
ex: #svn inport linux-2.6.11.5 svn://192.168.1.254/linux-kernel
  • svnserve

要寫 {repository}/conf 下的 senserve.conf , 範例如下

[general]
anon-access = none
auth-access = write
password-db = passwd
realm = test

password 範例如下

[users]
richliu  = password
  • svnserver 安裝, Gentoo Environment
#emerge subversion 時就會順便裝

修改 /etc/conf.d/svnserve, 範例如下.

# Options for svnserve
SVNSERVE_OPTS="--root=/home/svn"
# User and group as which to run svnserve
SVNSERVE_USER="apache"
SVNSERVE_GROUP="apache"
個人工具