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 invocations. 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. Regards, Derek -- Derek R. Price CVS Solutions Architect Ximbiot <http://ximbiot.com> v: +1 717.579.6168 f: +1 717.234.3125 <mailto:[EMAIL PROTECTED]> _______________________________________________ Info-cvs mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/info-cvs
