linux 选项中的 svnserver 预期

Ivá*_*ova 4 linux svn

我正在配置 svn 服务器,但是当我尝试结帐时,提示显示此错误:

svn: E200002: Unable to connect to a repository at URL 'svn://localhost/heartview'
svn: E200002: /home/factory/svn/repository/heartview/conf/svnserve.conf:20: Option Expected
Run Code Online (Sandbox Code Playgroud)

我的 svnserver.conf 文件说:

[general]

line 20 :anon-access = read
line 21 :auth-access = write
Run Code Online (Sandbox Code Playgroud)

Zam*_*ues 5

当我们svnserve.conf在 svn server configuration 期间取消注释参数时,它会在参数前留下一个空格字符。只需从您取消注释的参数中删除空格字符svnserve.conf

anon-access = read
auth-access = write
Run Code Online (Sandbox Code Playgroud)

这应该可以解决问题。