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

Re: 2 teams 1 server

From: Gerald Richter <richter_at_ecos.de>
Date: 2004-04-07 22:00:37 CEST

> I've manually worked around this by avoiding SVN::Mirror altogether,
> and using ssh from the mirror repository to incrementally request
> dumps (using svnadmin dump from the master repository, scp to
> transfer those dumps to the mirror repository, and then svnadmin load
> to load those dumps into the mirror repository).

the script svndumpload from SVN::Push distribution, does excatly this. It
determiates the revisions of both repositories and dumps the difference via
ssh to the destination. I can be run by cron or put it into the post commit
hook and you have an exact copy. svn switch --relocate can be used to switch
between the two repositories without problem.


P.S: The problem of SVN::Mirror (and the SVN::Push Perl module) is that it
can not handle copy history for now. The svndumpload script does it

Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
Besuchen Sie uns auf der CeBIT (18. - 24. März 2004)
Halle 6 Stand B38-452

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 7 22:01:34 2004

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

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