Reputation: 13
I have a svn server already set up. I need to place project code onto another machine in a different subnet than svn's server.
It's like that: There's this server set up with subversion, holding a lot of codes from many projects. I need to place the code in a different machine than svn's server, to allow access to an LDAP server hosted in a different subnet. I used a trick before by checking out the code onto this machine every time I submitted new code to svn server's machine. My question is if there's any way of making svn manage the code remotely onto this machine rather than make a local dir repository on itself.
Thanks
Upvotes: 0
Views: 104
Reputation: 19916
If you really want to mirror the repository, not just a working copy, look at svnsync
. However, you will still need a working network connection between the two. Also note, that mirrors are read-only.
There are many ways to trigger the sync:
&
to the command. On Windows, I couldn't get this to work. synsync
every n seconds. This will cause some additional network load due to unnecessary syncs, and the slave will update a bit slower, but this might be acceptable in your case.Upvotes: 1