Hi all,

I've been trying to set up mirror repository for a remote site. So far, I have 
everything running: The  mirror repository, the proxy URL (separate from the 
mirror to avoid sync loops) and the post-commit and post-revprop-change 
synchronisation hooks are all working well. I'm able to check out from the 
mirror URL on the remote site and have commits routed back through to the 
master.

The final part I'm having trouble with is  setting it up so that the remote 
users can use the same  repository URL as the local ones. We have a number of 
repos with developers moving form project to project at any given time and 
potentially moving between sites. It would be very useful to have the 
documentation for each project supply only a single URL which would work from 
either site, with the proxy only coming in to action when they're working 
remotely.

Ideally, this would be completely transparent, but that doesn't look to be 
possible.  I'd be happy if I could supply a client config file to remote users 
that would ensure they use the write-through proxy for all mirrored 
repositories. Using the following setup:

Master URL: http://svnmaster/project
Mirror URL: http://svnmirror:8080/project
Proxy URL: http://svnproxy:8000/project

I've set the 'servers' config to:
http-proxy-host = svnproxy
http-proxy-port = 8000

I've also tried specifying them on the command line:
svn co http://svnmaster/project --config-option 
servers:global:http-proxy-host=svnproxy --config-option 
servers:global:http-proxy-port=8000

In both attempts, the proxy is ignored and the client connects directly to the 
master.

None of the guides I've read mention much about configuring clients in this 
way, and I've a feeling I'm mis-using the general connection proxy settings, 
which is why it's not working; but I can't see any other way of achieving my 
aim. Have I missed something or is this not currently possible?

Cheers,

Terry.




Reply via email to