[cvsnt] Re: Mirror a CVSNT site

Bo Berglund bo.berglund at telia.com
Thu Apr 8 19:24:47 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


On Thu, 8 Apr 2004 09:38:02 -0700, "Werner, Harveyx D"
<harveyx.d.werner at intel.com> wrote:

>I have CVSNT 2.0.34 running on a local Windows 2000 AS machine serving
>several CVS repositories. Our group works with a counterpart site in
>Shanghai China and due to network latency they would like to have a
>local copy of our repositories.
>
>Could someone point me to information on how to set this up? How can a
>CVS repository be mirrored to a remote site?
>

You can only "mirror" a readonly copy to a remote site (like
SourceForge does). But there is no way that a live CVS server can
syncronize its repository to another also live server.
Just think about it a while and you'll see the problems:
- two users have checked out the same file but from different servers
- they get the HEAD which is rev 1.13
- both edit the file
- both commit almost at the same time and the result is rev 1.14
- but these edits now carry:
  - different edits (they did not do the same thing)
  - different timetamps (they are not *exactly* the same)
  - different commit user (obviously)
  - but the same revision!

How could this be solved?
Well, it can't and this is just why you cannot do a synch on two live
servers.

But what about the network latency? Isn't there full bandwidth
connection available nowadays to China as well?


/Bo
(Bo Berglund, developer in Sweden)



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook