无法打开请求的SVN文件系统

当我去http:// localhost / repo / myproject /并input密码时,显示此信息:

This XML file does not appear to have any style information associated with it. The document tree is shown below. <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:"> <C:error/> <m:human-readable errcode="2">Could not open the requested SVN filesystem</m:human-readable> </D:error> 

这是我的httpd-svn.conf:

 <Location /repo> DAV svn SVNPath “/usr/local/repo” AuthType Basic AuthName "Subversion repository" AuthUserFile /etc/users Require valid-user </Location> $ ls -la drwxr-xr-x 3 _www wheel 102 Aug 11 22:22 repo 

我如何解决这个问题?

通过聊天疑难解答,我们发现了这些错误日志:

 [Fri Aug 12 00:56:10 2011] [error] [client 192.168.1.2] (20014)Internal error: Can't open file '\xe2\x80\x9c/usr/local/repo\xe2\x80\x9d/format': No such file or directory 

这导致我们在configuration中的引号是那些偷偷摸摸,漂亮的引号,而不是configuration友好的引号。 那就是诀窍!

我有同样的问题,但在我的情况下,这是我的钩子/后提交脚本的文件权限问题。 所以我改变了文件的所有者,问题解决了。

只是张贴,因为我来到这个职位,同时试图search我的答案,因为我收到完全相同的错误信息为一个完全不同的问题,这可能是有用的别人。