You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Marc Breslow <ma...@gmail.com> on 2006/09/26 12:52:59 UTC

having trouble viewing revisions older then HEAD

Hi-

I'm trying to do a diff between the current revision and a previous revision
of a file.  When I do this, I get an error from subversion: svn: GET of
'/repos/myrepos/!svn/bc/1661/trunk/dir1/dir2/File.java': 403 Forbidden (
http://svn.mydomain.com)

The command I used to get the diff is:

svn diff --old=
http://svn.mydomain.com/repos/myrepos/trunk/dir1/dir2/File.java@1661 --new=
http://svn.mydomain.com/repos/myrepos/trunk/dir1/dir2/File.java

Checkouts, commits, updates all work fine as long as I am operating on the
most current version.  I am also able to tag code using the copy command
with no issues.

Under /etc/httpd/conf.d/subversion.conf I have a virtual server defined with
a location for my repository:
   <Location /repos>
      DAV svn
      SVNParentPath /opt/data/svn

        SVNIndexXSLT "/insurrection.xsl"

        # our access control policy
        AuthzSVNAccessFile /etc/subversion/authentication/access

        # how to authenticate a user
        AuthType Basic
        AuthName "Code-Host Repository"
        AuthUserFile /etc/subversion/authentication/passwords

        # try anonymous but require a user if needed
        <LimitExcept GET PROPFIND OPTIONS REPORT>
           Require valid-user
        </LimitExcept>
   </Location>

In /etc/subversion/authentication/access, I have:
[groups]
mgrs = <list of usernames>
developers = <list of usernames>

[myrepos:/]
* = r
@mgrs = rw
@developers = rw