[Top][All Lists]

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

Re: CVS Transaction

From: Mark D. Baushke
Subject: Re: CVS Transaction
Date: Thu, 08 Sep 2005 03:10:45 -0700

Hash: SHA1

Andy Jones <address@hidden> writes:

> There is also the theoretical issue of multiple developers committing
> changes to the same set of multiple files at once, which does rather
> worry me.

It should not worry you. cvs gets it correct. Read the manual on
how cvs does locking.

> In an ideal world, one of those developers should get all his files
> committed, and the others should be locked out.  But without
> transactional commits, you can't guarantee that.

You are mistaken. Transactional commits are not required. All that is
required is to do locking of the resources that will change and have
anyone else in contention back-off and try to acquire locks again.

> Of course, the chances of this causing a problem in a genuine
> development environment, are a completely seperate question...

I suggest that you need to go and read up on how cvs does directory
locking to ensure that all of the files for a given commit will block
someone else from being allowed to do a commit in the same directory at
the same time.

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


reply via email to

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