[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: Euan Guttridge <EGuttridge_at_buildonline.com>
Date: 2004-04-08 13:19:25 CEST

you use the term 'destination', but what if you need both repositories to
reflect each others changes - for two remote teams working concurrently?

Cheers
Euan

-----Original Message-----
From: Gerald Richter [mailto:richter@ecos.de]
Sent: 07 April 2004 21:01
To: Stuart Robertson; users@subversion.tigris.org
Subject: Re: 2 teams 1 server

>
> 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.

Gerald

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
correctly.

---------------------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 8 13:20:03 2004

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