在客户端访问subversion版本库时出现这个错误:
svnserve.conf:12: Option expected
为什么会出现这个错误呢,就是因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,如
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit http://subversion.tigris.org/ for more information.
[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
auth-access = write
像上面的配置文件中,anon-access是顶行的,没问题,而auth-access就存在前置空格,会导致这个错误。
转载地址点击打开链接
所有的svn连接问题都会给你一个错误信息;
不要一看svn: Unable to connect to a repository at URL 就不知道啥地方出错,然后根据以前用过的方法挨个试一遍解决不了就去百度找新的非常规方法。
尽量避免重复安装卸载!
针对错误信息!
防火墙未关闭。
用户缓存。
网络代理。
DNS缓存。(cmd ipconfig/flushdns)
347



被折叠的 条评论
为什么被折叠?



