[cvsnt] cvs update overwrites changes

torsten at tiscali.dk torsten at tiscali.dk
Wed Mar 2 10:17:36 GMT 2005


>-- Original Message --
>Date: Tue, 1 Mar 2005 14:46:24 -0800
>From: David Vo <vo.david at gmail.com>
>
>Thanks for the replies and the clarification on how the edit works. 
> 
> I am a bit confused, however, since the edit command was always used
> here. I have always thought this was a part of concurrency and a
> method to keep track of who was doing what, 
> since one developer can commit his copy of the file while another
> developer has it edited.

That was exactly my point. Bo's post implied that using "cvs edit" prohibits
concurrent development, but it does not.

> Basically, a cvs get is performed and the developer uses the edit
> command on the files he/she is working on. They run cvs update to
> merge any committed work
> and then commit themselves when finished. In
> some projects, exclusive locks are being used.

This is also how we do it where I work - except we only use exclusive edit
for binary files such as Office documents.

At home, I do not use cvs edit - but this is a matter of corporate culture
and personal preferences.

-Torsten




More information about the cvsnt mailing list