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

Problems with SVN Proxy using SVNMasterURI

From: Matthew Richardson <M.Richardson_at_ed.ac.uk>
Date: Wed, 02 Dec 2009 17:17:52 +0000

I'm currently experimenting with the web proxy stuff, and have followed
all the instructions I can find, but keep getting errors...

I've got 2 Ubuntu 9.10 boxes with apache2 and subversion 1.6.5 for
testing, on which I've done:

On both boxes:
svnadmin create repos
*Create apache configs* (see below)

On slave:
a2enmod proxy proxy_http
*create pre-revprop-change*

On master:
svnsync init http://slave.foo.com/svn/repos file:///var/svn/repos
svnsync sync http://slave.foo.com/svn/repos
*create post-commit to svnsync*

All of this works fine, and I can do checkins to the master directly,
and checkouts from the slave (which is being updated properly).

However, when I try a checkin I get:

svn: Commit failed (details follow):
svn: At least one property change failed; repository is unchanged
svn: Server sent unexpected return value (405 Method Not Allowed) in
response to PROPPATCH request for
'/svn/repos!svn/wbl/40e3ca68-8d37-4cb0-892a-eeabf5739d25/0'

When I try to do a checkin against the slave.

Interestingly, the checkin still seems to work, as if I then do an 'svn
up' against the slave, I get the checked in file as a new revision.

My configuration for master and slave is below - does anyone have any
ideas why this is happening?

Thanks,

Matthew

master
------

apache config:

<Location /svn/repos>
DAV svn
SVNPath /var/svn/repos
</Location>

post-revprop-change:

#!/bin/bash
REVISION=${2}
svnsync copy-revprops http://slave.foo.com/svn/repos-sync ${REVISION}
>/dev/null 2>&1

post-commit:

#!/bin/bash
svnsync sync http://slave.foo.com/svn/repos-sync >/dev/null 2>&1

slave
-----

apache config:

<Location /svn/repos>
DAV svn
SVNPath /var/svn/repos
SVNMasterURI http://master.foo.com/svn/repos/
</Location>

<Location /svn/repos-sync>
DAV svn
SVNPath /var/svn/repos
</Location>

pre-revprop-change:

#!/bin/bash
exit 0

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2426405
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.

Received on 2009-12-02 18:20:03 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.