svn

svnadmin create myrepository

htpd.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
#LoadModule authz_svn_module modules/mod_authz_svn.so


DAV svn
SVNListParentPath on
SVNPath /opt/local/var/svn/myrepository
# SSLRequireSSL
# order deny,allow
# deny from all
# allow from 219.121.1.62 127.0.0.1

いつも権限エラーがでるので
とりあえず
sudo chmod -R 777 myrepository/

SVNクライアントにインポート
クライアントからフォルダを作成

    • trunk

+- branches
+- 各ブランチのディレクト
+- tags
+- 各ブランチのディレクト


commit時に動作させるには?
$ cd /tmp/myrepository/hooks
$ cp post-commit.templ post-commit
$ chmod +x post-commit


post-commit編集

REPOS="$1"
REV="$2"
export PATH=/usr/share/subversion/hook-scripts/:$PATH
commit-email.pl "$REPOS" "$REV" commit-watchers@example.org


http://gihyo.jp/dev/feature/01/subversionsvk/0001

なかなかMantisまでたどりつかんの