比较修订时拒绝 SVN 访问 [英] SVN access denied when comparing revisions

查看:14
本文介绍了比较修订时拒绝 SVN 访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用 SVN 存储库.当我们尝试将本地未修改文件与存储库中文件的最新版本进行比较时,我收到以下错误.换句话说,有人签入了更改,如果我更新,我会得到他们的更改,但首先我想看看他们的更改是什么.不要认为这很重要,但我们正在使用 Xcode 并使用菜单项 SCM -> 比较 -> 最新.

We're using an SVN repository. I am getting the error below when we try to compare a local unmodified file with the latest revision of the file in the repository. In other words, someone's checked in a change and if I update I will get their change but first I want to see what their change was. DOn't think it matters but we're using Xcode and using the menu item SCM -> Compare With -> Latest.

错误:220001(项目不可读)说明:遇到不可读的路径;访问被拒绝

Error: 220001 (Item is not readable) Description: Unreadable path encountered; access denied

任何可以解决此问题的指示都表示赞赏.我查看了具有默认设置的 svnserve.conf.什么都没有给我跳出来.

Any pointers where to look to fix this appreciated. I looked in the svnserve.conf which has the default settings. Nothing jumped out to me.

还有,

% svn 日志

返回svn:项目不可读".

returns "svn: Item is not readable".

谢谢,贡萨洛

推荐答案

您的配置不正确(或 Subversion 有错误:)).

You have bad configuration (or Subversion has a bug:)).

无论如何,它可以通过更改svnserve.conf"文件中的行来修复:

Anyway it can be fixed by changing in "svnserve.conf" file the line:

[general]
anon-access = none

另一种仅更改authz"文件行的解决方案:

Another solution to change only "authz" file the line:

[/]
* = r

该解决方案给出了匿名读取您的存储库的不好.如果您只需要使用授权存储库而不是使用第一个解决方案.(用 svn 1.6.17 测试过,但认为它不依赖于版本)

That solution is given anonymous reads your repository that is not good. If you need to use only authorization repository than use the first solution. (was tested with svn 1.6.17, but think it does not depend from version)

这篇关于比较修订时拒绝 SVN 访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆