最近在公司弄了版本库。将主代码丢到版本库后,想拉取新的分支。抛异常如下:
SVN Error: Unreadable path encountered; access denied;
解决办法:
1、在版本库的:conf/svnserve.conf 文件内。修改参数变成如下:
[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 = none
auth-access = write
2、修改完成后,需要重启svn服务,重启之前先把原先的服务暂停了。重名命令如下
svnserve -d -r /home/repository # [/home/repository]就是你的仓库根目录
3、带端口启动
svnserve -d -r /data/svn --listen-port 70
转载于:https://www.cnblogs.com/yuanchaoyong/p/10299592.html