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

Re: Subversion 1.6 write-through proxy mirroring

From: John Beranek <john_at_redux.org.uk>
Date: Wed, 28 Jul 2010 12:25:55 +0100

On 26/07/10 23:15, Jim Lord wrote:
> I’m setting up a write-through proxy mirror. I can run:
>
[snip]
>
> 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
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[snip]
> I do have these on the slave’s httpd configuration files:
>
[snip]
> <Location /svn/vtest>
>
> DAV svn
>
> SVNPath /data/svn/vtest
>
> SVNMasterURI https://versiontest2.divxnetworks.com/svn/vtest
>
> …
>
> </Location>

You can't svnsync to something that's configured with SVNMasterURI and
therefore trying to proxy the write requests to the master, can you!?

> <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>

So shouldn't the svnsync be:

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

On another note (if practical) I can tell you that svnsync via the
svn:// protocol is _much_ quicker than via http(s).

John.

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
Received on 2010-07-28 13:26:42 CEST

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.