SVN在Windows平台上的配置

来源:互联网 发布:初级程序员考试资料 编辑:程序博客网 时间:2024/05/16 17:14

今天安装了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

马上运行成功!

原创粉丝点击