[cvsnt] i want help to lock multiple checkout

Benoit Voisin benoit.voisin at ergoidp.dk
Fri May 2 17:12:13 BST 2003


I had some problem pushing our team to move our project to CVS (from PVCS).
The main problem was this concurrent modifications. I believe it is a great
feature, but some people are indeed scared about the idea. 

To convince them, I have publicised the use of the "edit -c" (only on CVSNT,
not baseline CVS). It just means that when you call edit, it checks that
there is no other editors on this file. If there is, and you still want to
edit, you can force it, but then its your responsibility. (add a line
containing "edit -c" in a .cvsrc file in your HOME).

The HIC in which many fall now, is that 'cvs edit' does not do an update
first. So they have the "lock", and can edit the file, but they are not
always on the latest version and need to update + merge before
committing.... Back to where we started...

Still, they are all convinced now.

Feature request:
 It would be nice to have 'cvs edit' do an update at the same time.
Currently (but correct me if necessary) I do not see the point of not doing
it. For backward compatibility, we could just add an extra flag, ie 'cvs
edit -u' that we could add in our .cvsrc


Benoit





-----Original Message-----
From: Glen Starrett [mailto:grstarrett at cox.net]
Sent: 02 May 2003 17:57
To: mqaiserm at qualitycheckinc.com; cvsnt at cvsnt.org
Subject: RE: [cvsnt] i want help to lock multiple checkout


AFAIK, That's not typically how people use CVS--it is, after all, called
"Concurrent Versioning System" not "Lockout Versioning System".  I think you
will be pleased by the results if you research concurrency more.

However, to prevent others from editing a file that one person is editing
you can look at admin -L command and the edit, unedit commands that you
would use with it.

Glen Starrett

-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of mqaiserm at qualitycheckinc.com
Sent: Friday, May 02, 2003 12:57 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] i want help to lock multiple checkout


Hi !

  i want to use cvsnt on server and wincvs as client.

  i need help that how i can set no multiple checkouts on
  a repository.

  i want to create a repository and also i want to set that
  only one person can do checkout at a time.

  what i can do. plz help me in this matter.
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt


More information about the cvsnt mailing list