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

Re: svnmirror.sh / svnreplicate / cvs2svntracking / svnsnapshot / svnbackup

From: Amir Guindehi <amir_at_datacore.ch>
Date: 2004-01-09 16:45:44 CET

Hi all,

> do you know of any work that's been done to synchronise two normal,
> read-write, repositories ?

Looks like I never posted my svn scripts to the list.
I got flamed for not announcing my stuff, so I will do this now...

I wrote multiple scripts for svn:

- svnreplicate

   https://open.datacore.ch/read-only/svnreplicate
   https://open.datacore.ch/read-only/svnreplicate/trunk/README

   Replicates a svn repository,
   N writer while master up (master locking)
   N - 1 reader while master down

   It does slave->master->slaveX pushes and is able to poll a repository
   on startup and synchronise with it. It should never blow up your
   repository, but alert you and block on failure.

   Not tested very much.
   Had a working setup with 1 Master and 2 Slaves.

- cvs2svntracking

   https://open.datacore.ch/read-only/cvs2svntracking
   https://open.datacore.ch/read-only/cvs2svntracking/trunk/README

   Tracks a cvs repository in svn

   In use since a year.

- svnsnapshot

   https://open.datacore.ch/read-only/svnsnapshot
   https://open.datacore.ch/read-only/svnsnapshot/trunk/README

   Does snapshot tar-balls of svn trunk and/or svn tags folders for
   downloading

   In use since half a year.
   Generates snapshots for https://open.datacore.ch/download

- svnbackup

   https://open.datacore.ch/read-only/svnbackup

   Does single commit backup and restore.

   In use since nearly a year.

- svnmerge

   https://open.datacore.ch/read-only/svnmerge
   https://open.datacore.ch/read-only/svnmerge/trunk/README

   Does merge a range of revisions of one location as single commits to a
   second location. This allows duplication of the single changes in that
   range to a new location.

   I used it to sync one of my project branches with trunk while still
   being able to revert every single commit as you can see in the
   following sample:

   https://open.datacore.ch/read-only/svnmerge/trunk/SAMPLE

I hope this can be of use to someone out there!

Cheers
- Amir

-- 
Amir Guindehi, nospam.amir@datacore.ch
DataCore GmbH, Witikonerstrasse 289, 8053 Zurich, Switzerland
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 9 16:47:46 2004

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