[cvsnt] Locking??

Tony Hoyle tmh at nodomain.org
Fri Jan 31 10:14:51 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.


On Fri, 31 Jan 2003 02:29:23 -0500, "Keith D. Zimmerman"
<kzimmerman at eshcom.com> wrote:

>While doing the following:
>
>	cvs -d :ssh:user at servername:/cvsroot co module
>
>And doing this on another computer:
>
>	cvs -d :ssh:user at servername:/cvsroot rtag -F -R -b tagName
>module
>
>The computer that is doing the rtag gets this error:
>	waiting for SYSTEM's lock in
>module/subdir/subsubdir/subsubsubdir
>
>Note that module is very large - many files/folders are being checked
>out, but does checkout do a lock?  Why?  I can see that rtag would need
>to do a lock, but why checkout?
>
Checkout does a read lock.  You can have multiple read locks on a
repository.  However rtag needs a write lock, which is an exclusive
lock, and can't happen until all reads of the repository have finished
(you don't want the checkouts to get inconsistent copies of the
repository).

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