解決方法:編輯[代碼倉庫目錄下]/conf/svnserve.conf
將[anon-access]的值設置爲[none]。如下:
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
# anon-access = read
killall -HUP svnserve //關閉SVN進程
svnserve -d -r /home/repository # [/home/repository]就是你的倉庫跟目錄
將[anon-access]的值設置爲[none]。如下:
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are "write", "read",
### and "none". The sample settings below are the defaults.
# anon-access = read
anon-access = none
killall -HUP svnserve //關閉SVN進程
svnserve -d -r /home/repository # [/home/repository]就是你的倉庫跟目錄