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

Re: Master-slave SVN setup

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-02-04 12:30:51 CET

Stuart Robertson wrote:
> I read a while back about SVN support (or a third-party project) that
> provided master-slave support, whereby slaves remained constantly in sync
> with a master repository, and commits made to the slaves are transparently
> passed on to the master server.

Check out:

        http://svk.elixus.org/

You will need to be running svn 1.0-to-be, SWIG, a recent Perl (I recommend
5.8.3), and build the Perl bindings. It is truly slick. Here's my morning
routine now (I have a local mirror of the All Perl Changes repository [converted
from P4]):

> $ svk sync //bleadperl/trunk
> Syncing file:///var/svn/perl5/trunk
> Retrieving log information for 18403 to 18407
> Committed revision 22 from revision 18403.
> Committed revision 23 from revision 18404.
> Committed revision 24 from revision 18405.
> Committed revision 25 from revision 18406.
> Committed revision 26 from revision 18407.
>
> $ svk smerge //bleadperl/trunk //bleadperl/mydevel
> auto merge (10, 26) /bleadperl/trunk -> /bleadperl/mydevel (base /bleadperl/trunk)
> merge ticket: 398dec03-b5ce-0310-98b4-a3044dcc9665:/trunk:18407
> waiting for editor...
> modelines=5
> U pod/perlvar.pod
> U pod/perlfunc.pod
> U pod/perlsub.pod
> U pod/perlapi.pod
> ...blah blah blah...
>
> $ svk up
> syncing //bleadperl/mydevel(/bleadperl/mydevel) to /home/jpeacock/working/mydevel to 27
> U pod/perlvar.pod
> U pod/perlfunc.pod
> U pod/perlsub.pod
> ...blah blah blah...

And now my working copy is up to date with bleadperl, including my local changes!

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 4 12:30:52 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.