[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exclusive checkout

From: Paul Gelderblom \(ptok\)
Subject: Re: exclusive checkout
Date: Wed, 10 Dec 2003 20:57:23 +0100

> address@hidden wrote:
> >
> > Hi everyone,
> >
> > Is there a way of enforcing exclusive checkout in CVS?
> >
> Todd Denniston <address@hidden> 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.
A bit of practical experience:
I sucessfully used Noel Yaps edit -c patch (see the message mentioned by
Todd and also
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
 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]