[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regarding Replication of CVS Servers

From: Derek Price
Subject: Re: Regarding Replication of CVS Servers
Date: Tue, 13 Sep 2005 10:42:08 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Saura Ramachandran wrote:

> Hi,
>  I am very new to CVS. In my College I have to implement CVS. They
> have a remote server and I have to implement a local server which
> replicates the remote server  regularly. I have tried CVSUP but it
> requires the remote server also to be configured which is not possible
> for me. I dont know where to start. Please give me some pointers.
>  Thanks and Regards,

If all you need is a periodically-updated (allowed to go temporarily out
of sync & updated on a time delay) read-only mirror of the main
repository, something as simple as rsync over ssh might do the trick for
you, assuming you have shell access to the CVS server.

If you are talking about replicating a repository without any server
access other than the CVS protocol, you might try searching the list
archives, that may have come up before.  If I had to do it myself and
there isn't another script out there already, I'd probably start with
the pvcs2rcs script in the contrib directory of the CVS sources, get my
file list via rdiff and careful parsing (or cvs ls if you are
replicating a 1.12 server), then replace the pvcs incovations with cvs

Of course, that wouldn't be as efficient as CVSup, which I believe knows
how to add just the needed revisions if you've replicated the repository
before, but you could probably teach pvcs2rcs to assume existing
archives were "correct" and only add needed revisions & tags.



Derek R. Price
CVS Solutions Architect
Ximbiot <>
v: +1 717.579.6168
f: +1 717.234.3125

reply via email to

[Prev in Thread] Current Thread [Next in Thread]