This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS on savannah


Andrew Haley <aph@redhat.com> 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, schwab@suse.de
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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]