On Wed, 19 Feb 2003, Fabian Cenedese wrote:

> Well, I also commit single files for the same reasons (even if that makes
> me an idiot too). But before committing I sure do a test/update if there
> has anything changed in the repo. So I do the same as cvs ci on whole
> sandbox, just manually. 

I believe that it is not the same thing. The cvs ci operation is an
atomic test and set: it acquires a lock over what you are trying to
commit, checks that it's up to date, and then if so, it completes the
commit before releasing the lock.

Doing a separate update operation just before a selective commit
creates a race condition because the lock is not maintained across
both operations; you are thus relying on winning a race, however great
the odds may be in your favor due to the small time window.



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to