cd /svn/repos
 svnadmin  create project_a
 svnadmin  create project_b
 cd project_a
 cp -a conf  /svn/
 cd /svn/conf
 vi passwd 新增用户
 vi authz 修改权限
 [repos/project_a:/]
 user1=rw

[repos/project_b:/]
user2=rw

修改svnserve 

修改项配置

 

重启 svn shell脚本

#!/bin/sh
# start svnserve
#kill pid serve
ps -e | grep svnserve | awk '{print $1}' | xargs kill -9
# start new svnserve
svnserve -d -r /svn --config-file=/svn/conf/svnserve.conf --listen-port=3690

 

posted on 2018-03-17 11:54  ヽ坚强的蘑菇  阅读(142)  评论(0编辑  收藏  举报