[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

having trouble viewing revisions older then HEAD

From: Marc Breslow <marc2112_at_gmail.com>
Date: 2006-09-26 14:52:59 CEST

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
Received on Tue Sep 26 14:53:51 2006

This is an archived mail posted to the Subversion Users mailing list.