svnserve.conf:12: Option expected的问题解决方法
上一篇 /
下一篇 2008-09-16 11:00:45
/ 个人分类:配置管理
昨天配置基于svnserve的subversion服务器后,51Testing软件测试网;^{*H8v5Un&\'B|5Q
在客户端访问subversion版本库时出现这个错误:51Testing软件测试网hdTk&Nt
1mFK4S;CzJ9w0svnserve.conf:12: Option expected51Testing软件测试网*c:ya'z#Et;L'B7R/n
6Io?l9y4x)]vhD3O0为什么会出现这个错误呢,就是因为subversion读取配置文件svnserve.conf时,无法识别有前置空格的配置文件,如
oF)K)Vk}.g'mp-v0### This file controls the configuration of the svnserve daemon, if you
X9A8^[$Z(g6B
h0### use it to allow access to this repository. (If you only allow
C3UF:N-D-lA.t0### access through http: and/or file: URLs, then this file is
[2L+y
~,V:ffl3l0### irrelevant.)51Testing软件测试网,`4~1@ pN
51Testing软件测试网/T$ak U zh7L
### Visit http://subversion.tigris.org/ for more information.51Testing软件测试网K&\ J*~O5b4Ju
-O]3QyqhaU$C0[general]
&`'DpS
Z$tG0### These options control access to the repository for unauthenticated
R0U c kRU
tM-G*G0### and authenticated users. Valid values are "write", "read",
tQjuXKe\0### and "none". The sample settings below are the defaults.
b"Y
q
g|CZ0anon-access = read
v+Y0YTIB0 auth-access = write51Testing软件测试网)w/Ia-nl1D
Du-_d
tZ|aY0像上面的配置文件中,anon-access是顶行的,没问题,而auth-access就存在前置空格,会导致这个错误。
Q2?l:V5I0要避免出现这个错误,应该在去掉这些行前的#时,也要顺手去掉前面的空格
相关阅读:
- Oracle配置本地Net服务名 (breezeforever, 2008-8-05)
- 数据库名、实例名、ORACLE_SID、数据库域名、全局数据库名、服务名 (breezeforever, 2008-8-05)
- 软件配置管理(CN) Google讨论组 (achinaren, 2008-8-11)
- 配置管理之路 (achinaren, 2008-8-11)
- 软件配置管理提高业务价值的七个关键因素 (caption, 2008-8-18)
- 代码发布简易流程 (icecry_0205, 2008-8-28)
- 自动生成CVS用户 (icecry_0205, 2008-8-28)
- 软件测试缺乏配置管理的问题解决方法 (fishy, 2008-9-02)
- Team Foundation Server工具使用说明 (fishy, 2008-9-05)
- TortoiseSVN1.5用户手册 (fishy, 2008-9-08)
收藏
举报
TAG:
配置管理