[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Would nobody please finish what he's doing.
From: |
Stefan Monnier |
Subject: |
Re: Would nobody please finish what he's doing. |
Date: |
Tue, 19 Jun 2007 13:00:21 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> Every CVS operation needs a lock, if only to make sure that nobody is
> modifying the meta data while you are reading it. *Note (cvs)Locks::.
> *Note (cvs)Concurrency::.
There's theory and then there's practice.
As mentioned, without a read lock, anonymous checkout risk getting slightly
inconsistent data, but IIRC the possible inconsistency is very minor (and
transient: fixed by the next "cvs update").
The CVS-level (i.e. module-level) metadata is basically inexistent, so the
main issue is the RCS-level (i.e. file-level) metadata: this is updated
pretty much atomically (by writing the new RCS data into a new file and
then moving it into place).
Many CVS repositories have used such unlocked anonymous access with
good results.
Stefan