### 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.html
# harry = harryssecretapache
# sally = sallyssecret瀏覽器
[groups]緩存
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe服務器
root= 123tcp
# [/foo/bar]
# harry = rw
# &joe = r
# * =svn
# [repository:/baz/fuz]vi
# @harry_and_sally = rw
# * = r測試
[/]spa
root=rw.net
右鍵點擊本地副本,TortoiseSVN -> Settings -> Saved Data,點擊個個「Clear」按鈕,把本地緩存都 清除了,點擊「肯定」,再從新 「checkout」。
所以咱們要修改配置文件: vi /etc/sysconfig/iptables在中間的位置複製以下代碼(若是有就跳過):
-A INPUT -p tcp -m state --state NEW -m tcp --dport 3690 -j ACCEPT
service iptables restart
通常來講你要用http/https協議訪問SVN的話,就要將SVN服務器和apache集成,從而實現http(https)://ip的方式訪問。若是沒有作這一步,就只能用svn協議訪問,而不能用http協議訪問。即svn://ip地址 ;而一旦集成了,後面訪問也都應該用http協議,而不能再用svn協議了。也就是說不能同時用svn協議和http協議訪問同一個SVN庫。
解決方法:編輯[代碼倉庫目錄下]/conf/svnserve.conf,將[anon-access]的值設置爲[none]。而後重啓svn服務便可。
參考資料:http://blog.csdn.net/a649518776/article/details/39433883
http://www.cnblogs.com/274914765qq/p/4369099.html