启动指令
svnserve -d -r /opt/svn/repos --listen-port 9999
svnserve.conf
[general] anon-access = none auth-access = write password-db = passwd authz-db = authz [sasl]
authz
[aliases] [groups] [/] dev = rw # [repository:/baz/fuz] # @harry_and_sally = rw # * = r
[aliases] [groups] [/] jiangxf = rw xieyu = rw [/com-mxhd-game] xurz = rw gaohj = rw [/gamesource] xurz = rw gaohj = rw [/libsrc] xurz = rw gaohj = rw [/server] zhaodj = rw [/doc] liuf = rw weil = rw # @harry_and_sally = rw # * = r
passwd
### This file is an example password file for svnserve. ### Its format is similar to that of svnserve.conf. As shown in the ### example below it contains one section labelled [users]. ### The name and password for each user follow, one account per line. [users] jiangxf=adfasdfasdf
$ svn st
! + C foo
> local edit, incoming delete upon update
! + C bar
> local edit, incoming delete upon update
$ touch foo bar
$ svn revert foo bar
$ rm foo bar
ps. svn ingore 语法是 svn pe svn:ignore folder_name