Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mirror SVN Repository [Write-through proxying]

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

like image 508
Abdul Munim Avatar asked Feb 18 '10 05:02

Abdul Munim


1 Answers

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

like image 51
Peter Parker Avatar answered Sep 22 '22 04:09

Peter Parker