[ On Thursday, September 7, 2000 at 18:21:55 (+0530), Ramesh Chander wrote: ]
> Subject: Is it possible to have a mirror CVS server
>
> Often we have problem with the Network bandwidth using CVS server/
> repositry at remote site. For example our CVS repositry is in Germany
> and we are working here in India. So when whole team is using CVS
> Checkout and check in very slow.
> We want some kind of mechanism where our team work use a CVS server
> which is at our local site and replicant server at remote site.
> If we commit on this local server then some how it update the remote
> repositry and vice versa.
This is simply not possible within the design parameters of CVS.
The only way you could reasonably do this would be to mirror the remote
repository at your site (using rsync or CVSup, or even just ftp, etc.)
and then use that to create a second vendor-branched repository also at
your local site. Do all of your changes to the trunk of the second
repository (i.e. in working directories checked out from the second
repository). Then finally pick appropriate periods in time to tag your
local work, create a great big patch containing all the changes since
the last tag, and commit them to the master repository. Repeat this
cycle as appropriate.
In any case this will likely clash with the design goals of your
repository owner, especially since it will not allow you to share your
changes with the master repository on anything but a periodic basis, and
it likely also means that you'll only be able to import from the master
repository on a periodic basis.
> Is it possible using some kind of third party tool or using some other
> product.
Take a look at BitKeeper. <URL:http://www.bitkeeper.com/>
So far as I know it's the only realistically viable solution that gives
you the best of both worlds (i.e. a local repository and the ability to
migrate full change sets between repositories). It will suffer the same
kinds of granularity but it'll help you far better in defining your work
units so that they can be shared in the most timely fashions.
The only solution that gives fully integrated replication is to increase
your bandwidth!
--
Greg A. Woods
+1 416 218-0098 VE3TCP <[EMAIL PROTECTED]> <robohack!woods>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>