共计 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