今天安装了SVN(Subversion),conf/svnserve.conf 老是报错," xx line option expected ",
上网查了也没什么帮助,后来一遍遍尝试,终于发现问题所在了,原来它的配置文件不支持空格,
[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
把前置空格去掉后:
[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
马上运行成功!
本文解决了SVN配置文件svnserve.conf中出现的xxlineoptionexpected错误问题。通过去除配置项前的空格,使SVN服务得以正常运行。
1986

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



