> [EMAIL PROTECTED] wrote: > > > > Hi everyone, > > > > Is there a way of enforcing exclusive checkout in CVS? > > > > Todd Denniston <[EMAIL PROTECTED]> wrote: > read the following message if you want more insight as to why, and if > you are not afraid of patching your tools, there patches for you. > http://www.mail-archive.com/[EMAIL PROTECTED]/msg04330.html > A bit of practical experience: I sucessfully used Noel Yaps edit -c patch (see the message mentioned by Todd and also http://mail.gnu.org/archive/html/bug-cvs/2002-05/msg00290.html on where to find a recent version) on a repository I recently set up. We applied the patch without a problem to cvs-1.11.5. You need the patch for both server and clients, but as far as I know, cvsnt (at least the version shipped with WinCvs1.3 B) has it applied already.
On the server, we have a commitinfo script which does a "cvs watch on" (or actually, it directly changes the CVS/fileattr file directly with the same effect) for added files that match certain extensions. This means that we do not enforce locking on all files, but only on a small subset (a few % of the files) we think it is needed on. This gives you the versatility of CVS everywhere, and locking only at a few places where you really want it. Paul Gelderblom _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
