阿里云-云小站(无限量代金券发放中)
【腾讯云】云服务器、云数据库、COS、CDN、短信等热卖云产品特惠抢购

SVN添加文件时的错误处理:…\conf\svnserve.conf:12: Option expected

128次阅读
没有评论

共计 1426 个字符,预计需要花费 4 分钟才能阅读完成。

安装完 SVN 服务器,添加完用户权限后,准备将本地的项目 add 到服务器上时,报 ”C:\Documents and Settings\Subversion Repository\conf\svnserve.conf:12: Option expected

“.

网上查找,需要做以下配置:

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 = read
 # auth-access = write

……

# password-db = passwd

————————————————–

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 = read
 auth-access = write

……

password-db = passwd
—————————————————
一定要注意以下三个参数所在的行,前面不能有空格.

anon-access = read

auth-access = write

password-db = passwd

Linux 中 Subversion 配置实例 http://www.linuxidc.com/Linux/2012-02/53109.htm

CentOS 6.2 SVN 搭建 (YUM 安装) http://www.linuxidc.com/Linux/2013-10/91903.htm

Apache+SVN 搭建 SVN 服务器 http://www.linuxidc.com/Linux/2013-03/81379.htm

Windows 下 SVN 服务器搭建和使用 + 客户端重新设置密码 http://www.linuxidc.com/Linux/2013-05/85189p5.htm

Ubuntu Server 12.04 安装 SVN 并迁移 Virtual SVN 数据 http://www.linuxidc.com/Linux/2013-05/84695.htm

Ubuntu Server 搭建 svn 服务以及迁移方法 http://www.linuxidc.com/Linux/2013-05/84693.htm

借助网盘搭建 SVN 服务器 http://www.linuxidc.com/Linux/2013-10/91271.htm

正文完
星哥说事-微信公众号
post-qrcode
 0
星锅
版权声明:本站原创文章,由 星锅 于2022-01-20发表,共计1426字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
【腾讯云】推广者专属福利,新客户无门槛领取总价值高达2860元代金券,每种代金券限量500张,先到先得。
阿里云-最新活动爆款每日限量供应
评论(没有评论)
验证码
【腾讯云】云服务器、云数据库、COS、CDN、短信等云产品特惠热卖中