[cvsnt] ntserver vs. local

Tony Hoyle tmh at nodomain.org
Wed Dec 10 19:46:25 GMT 2003


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.


Flávio Etrusco wrote:

> 
> Hey, this is dangerous! I've always thought that cvs client using :local:
> "protocol" would work exactly as it would in server mode. I'd really like
> to hear from some cvs develper about this...
> 
They are the same, but network latencies get involved, which means for
example two cvs instances might be able to create a write lock at the same
time.  LockServer is theoretically a solution to this, but if you're going
to run a lock server you might as well run a cvs server too.

Networks often keep file locks for longer than they need to, too, which
would mean your checkin would fail even though there's nobody actually
using the file at the time.

The commitinfo/loginfo scripts would end up running on the client, which is
not usually what you want.

It's never been recommended to run cvs over a network share, even on Unix
(try googling for 'cvs over NFS' sometime).  It's also totally unnecesary -
the server has everything local mode has plus compression, encryption and
much better use of bandwidth.

Tony




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