开发者

SVN access denied when comparing revisions

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.

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

Any pointers where to look to fix this appreciated. I looked in the svnserve.conf which 开发者_Python百科has the default settings. Nothing jumped out to me.

Also,

% svn log

returns "svn: Item is not readable".

Thanks, Gonzalo


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

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

[general]
anon-access = none

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

[/]
* = r

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)


You probably don't have enough rights to read every file changed in those revisions. Hence, Subversion considers the revisions "unreadable" for you. This is explained in the authz_policy.txt document.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜