[cvsnt] ntserver vs. local

Curtis Lehman clehman at aircell.com
Wed Dec 10 17:30:32 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.


For what it's worth, I asked a similar question a few weeks back on the cvsgui mailing list on yahoo. Below is the response I got. I think it's good reasoning for sticking with CVSNT and avoiding using CVS in local mode. It's kind of long, but worth reading through. I hope it helps.

- Curtis Lehman

From:   Jens Miltner <jum at m...> 
Date:  Wed Dec 3, 2003  1:12 am
Subject:  Re: [cvsgui] Why should I install wincvs server instead of using local mode? 
 
Am 03.12.2003 um 05:54 schrieb Gagneet Singh:

> I have installed CVS at my place of work. It is totally a windows
> based company. The IT department refuses to allow a UNIX server. To
> get CVS working quickly, I have setup the tool to work in local mode.
> i.e. Authentication is local and CVSROOT is pointing to a folder an a
> networked drive. This way I didn't have to get IT to setup a WINCVS
> server. Currently about 10 people use the tool, all at the same place
> of work. Long term, I may need to provide access to sites.
>
> I keep seeing that this configuration is not recommended for more
> than one user. Can someone tell me what problems could happen using
> CVS this way. What features may not be supported? I heard mention
> that locking model will not work in windows. Is this the only feature
> that I have lost?

The major problem here is that your cvs client has no idea that another
client might be modifying the repository at just that moment. This
might severely corrupt your repository!
Here's an older answer from Oliver Giesen about this problem:

> Am 28.01.2003 um 14:37 schrieb Oliver Giesen:
>
>> I fact I don't understand really why do not share a local repository
>> among several users?
>
> If you do the unspeakable it's basically like this: There is no
> central server that is in control of all things, knows what's going on
> and how to deal with it. Instead all clients play the part of Server
> and what's even worse is that each one believes it's the only one so
> they don't even try to deal with simultaneous access from different
> users because they simply don't expect it. Just imagine two users
> committing different changes to the same file at the same time.
> Furthermore, the CVS process believes its repository to be on the same
> physical system as itself and therefore takes close to no precautions
> for potential network-related data-loss during transactions.
>
> Now the short version: It really is only theoretically possible.
> Period.
>
> The only people I know who have gone this way and survived are those
> that by design NEVER access the repository simultaneously, e.g.
> because they're one-man shops or because everyone has his/her own
> designated project and never touches anyone else's stuff. And even
> they are probably just lucky of having a well-working network setup.
>
> DON'T DO IT!
>
> A CVSNT-server really isn't that hard to set up, especially for a
> Windows-only isolated LAN-environment. In fact it's pretty much
> install-and-forget in that case. All you have to do after installation
> is specify the repository location in the control panel applet and
> start the service.

</jum>



 



-----Original Message-----
From: Chris Morris [mailto:cvsnt at clabs.org]
Sent: Tuesday, December 09, 2003 6:55 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] ntserver vs. local


We currently have an ntserver cvs server setup -- the server is on the 
local LAN, CVSROOT something like:

   serverx:c:/cvs

Problem is we're running 1.11 of cvsnt and we're running up against 
organizational issues getting it upgraded to 2.0.x. Can we simply change 
our cvs clients to access it using the local access method:

   f:/cvs

(...assuming f is mapped to \\serverx\c\cvs -- or can we also use a UNC 
path?)

Would there be any problems with some clients accessing it with :local: 
and some using :ntserver: (especially with the ntserver running an older 
version of cvs.exe?)

--
Chris
http://clabs.org

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



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