Hopefully you can point me in the right direction:

I'm setting up a write-through proxy mirror.  I can run:

svnsync init --source-username svnsystem --source-password $pass  
--sync-username svnsystem --sync-password $pass   file:///data/svn/vtest 
https://versiontest2.divxnetworks.com/svn/vtest

from the slave machine versiontest1

BUT, I can't run:

svnsync init --source-username svnsystem --source-password $pass  
--sync-username svnsystem --sync-password $pass   
https://versiontest1.divxnetworks.com/svn/vtest  file:///data/svn

on the master without getting the error:

svnsync: DAV request failed; it's possible that the repository's 
pre-revprop-change hook either failed or is non-existent
svnsync: At least one property change failed; repository is unchanged
svnsync: Server sent unexpected return value (500 Internal Server Error) in 
response to PROPPATCH request for '/svn/vtest/!svn/bln/0'

The pre-revprop-change hooks exist on both master and slave for the vtest 
repository

I want the mirroring to be a PUSH model from the Master to the Slave instead of 
a PULL model from the slave.  Otherwise, I don't think I can get the 
write-through proxying to work correctly.

I do have these on the slave's httpd configuration files:

<Location /vtest>
        DAV svn
        SVNPath /data/svn/vtest
        SVNMasterURI https://versiontest2.divxnetworks.com/svn/vtest
...
</Location>
<Location /svn/vtest>
        DAV svn
        SVNPath /data/svn/vtest
        SVNMasterURI https://versiontest2.divxnetworks.com/svn/vtest
...
</Location>

<Location /svn-proxy-sync>
  DAV svn
  SVNPath /data/svn/vtest
  Order deny,allow
  Deny from all
  # Only let the server's IP address access this Location:
  Allow from 172.16.4.134
</Location>

Is there something about the apache configuration of the master or slave that 
I'm missing?

The master versiontest2 and slave versiontest1 are configured exactly from the 
same image of a Slackware O/S with http v2.2.13.






Reply via email to