Mirror SVN Repository [Write-through proxying]

Abdul Munim picture Abdul Munim · Feb 18, 2010 · Viewed 10.5k times · Source

I have a codebase located in Europe and access this codebase from Asia. Codebase is substantially huge, downloading the whole codebase (which is required sometimes) becomes a pain.

I wanted to know whether anything like this.

I want a solution that "I will have a svn server locally which will sync with the main svn and serve my team as the svn is locally hosted."

Thanks in advance
Munim

Answer

Peter Parker picture Peter Parker · Feb 18, 2010

You can also try a write-through-proxy which is supported since SVN 1.5 and works fine.

With this setup you have a master and a slave repository.

The slave repo acts as a local read cache while commits will be proxied to your master server and synced back.

This solution comes with subversion / apache.

See this svndevelopers blog for more details. Or the superb SVN book, or last but not least the subtrain admin training presentations