savannah-hackers
[Top][All Lists]
Advanced

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

[Savannah-hackers] Re: CVS on savannah


From: Andreas Schwab
Subject: [Savannah-hackers] Re: CVS on savannah
Date: Mon, 05 Jan 2004 17:29:15 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

Andrew Haley <address@hidden> writes:

> Andrew Walrond writes:
>  > On Monday 05 Jan 2004 10:31 am, Andrew Haley wrote:
>  > >
>  > > It isn't possible to do this consistently, because CVS commits are not
>  > > atomic.  It is always possible for a developer to check out an
>  > > inconsistent repository.
>  > 
>  > So a cvs checkout from the master repository can result in an inconsistent 
>  > local copy?
>
> Correct.  Changes to files are atomic, but that's all.

I think changes to all files in one _directory_ (nonrecursively) are
atomic.

But since rsync ignores CVS locking (it needs to ignore the lock files,
otherwise nobody would be able to read the locked directory from the
repository until the next update) the probability for an inconsistent
state is higher.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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