第一步:mkdir /Users/svn
第二步:svnadmin create /Users/svn/repository
第三步:修改respotitory目录下的conf目录下的文件
1、修改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]
huangyibiao = tianshi520 (这个是我自己设置的帐号和密码)
sally = sallyssecret
2、修改authz文件
### This file is an example authorization file for svnserve.
### Its format is identical to that of mod_authz_svn authorization
### files.
### As shown below each section defines authorizations for the path and
### (optional) repository specified by the section name.
### The authorizations follow. An authorization line can refer to:
### - a single user,
### - a group of users defined in a special [groups] section,
### - an alias