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

Mirroring Subversion repository

From: Yoshiki Hayashi <yoshiki_at_xemacs.org>
Date: 2002-03-20 09:22:55 CET

[Back from vacation, trying to catch up before going to
another vacation...]

Zack Weinberg <zack@codesourcery.com> writes:

> 0. An organization wishes to maintain read-only mirrors of its
> Subversion repository. These are either to take the load of
> anonymous users off the master, or to reduce the bandwith demand of
> geographically-distant users at some expense in latency.

I once had tool to maintain read-only mirror of Subversion
repository using Ruby bindings of Subversion. It is fairly
easy to implement it. You only need to use two editor, one
for update and one for commit, and just pipe through all
data. And then get logs from server and reflect them on
mirror. Subversion editor system is really cool. Kudos to
people who designed that.

My script doesn't work right now because I've been away and
haven't been keeping Ruby bindings up to date but it's at
most a few hours work to implement it in C for those
familiar with how editors work.

BTW, mirroring tool can be used to convert Subversion
repository from old format to new format when repository
format changes. Set up Apache server with old Subversion
and mirror them with new client.

-- 
Yoshiki Hayashi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 20 09:24:15 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.