[cvsnt] cvs update overwrites changes

David Vo vo.david at gmail.com
Tue Mar 1 22:46:24 GMT 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.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.

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.

I would like to know your cvs procedures and see if I can start
getting the team to change- if there is in fact a better way to use
cvsnt to prevent problems that I have been seeing and maybe optimize
the experience.

Thanks,
David


On Tue, 01 Mar 2005 22:26:10 +0100, Torsten Martinsen
<torsten at tiscali.dk> wrote:
> Bo Berglund wrote:
> 
> >An example is this what you describe below about using edit etc.
> >We *never ever* use cvs edit or any locking or reserved checkouts or
> >the like in our development. We all work concurrently and we never
> >have any problems like you describe.
> >
> >
> Using "cvs edit" does not prevent concurrent development.
> 
> >As far as I know the *only* action performed when you use cvs edit
> >on a file is that the readonly flag on the local file is reset so
> >it becomes writeable.
> >
> Not quite - additionally the saved copy in CVS/Base is restored into the
> sandbox.
> 
> >This can equally well be performed using Windows
> >Explorer. The only other thing that happens is that anyone having
> >a watch on this file will be notified that you have done cvs edit on it.
> >
> >
> And, people running "cvs editors" can see that you are no longer working
> on the file.
> 
> >I have a hard time believing that doing an unedit on an edited file
> >with changes will magically return the original file contents into
> >it...
> >
> Better get used to the thought :-)
> 
> -Torsten
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
>



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook