info-cvs
[Top][All Lists]
Advanced

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

Re: cvs locking and watching...


From: Luke Miller
Subject: Re: cvs locking and watching...
Date: Thu, 03 May 2001 08:13:24 -0700

The watch-edit system looks like it should work fine, but I am not able to 
get it to work.  Here is what I tried:

first person:
cvs co luketest
cvs checkout: Updating luketest
cvs checkout: Updating luketest/luketest
cvs checkout: Updating luketest/luketest/test1
U luketest/luketest/test1/bin1
U luketest/luketest/test1/file1
U luketest/luketest/test1/file2

cd luketest/luketest/test1
cvs watch on bin1
cvs edit bin1

second person:
cvs co luketest
cvs checkout: Updating luketest
cvs checkout: Updating luketest/luketest
cvs checkout: Updating luketest/luketest/test1
U luketest/luketest/test1/bin1
U luketest/luketest/test1/file1
U luketest/luketest/test1/file2

cd luketest/luketest/test1
cvs edit bin1

No where here did it tell the second person that the first was editing the 
file.  So, we now have two people editing a non-mergable file which is not
good.  

I did notice that watch could send e-mail notifications but that relies on
people checking thier e-mail before they edit anything.  Is there a way
to get it to display a warning in the shell when they go to edit the file?

Thanks,

Luke

*****************************************************
* Luke Miller             Unix System Administrator *
* Micro Systems Engineering            503-699-2787 *
*****************************************************

> Luke Miller <address@hidden> on 05/02/2001 02:24:24 PM
>                                                                              
>  To:       address@hidden                                   
>                                                               
>  cc:       (bcc: Rex Jolliff/YM/RWDOE)                        
>                                                               
>                                                               
>                                                               
>  Subject:  cvs locking and watching...                        
>                                                               
> 
> 
>                                             Federal Record Status Not Determi
ned
> 
> 
> 
> > [...] Is there a way to tell the second second [sic] person that the first
> person
> >is working in the file before the second person starts to edit it?
> 
> Um, pick up the phone and call em?  Your next question is probably: "How
> does the first person know to call the second?"  The first person executes
> a cvs watch on the file, and the second person executes a cvs edit on the
> file and gets warned that the first is currently editing it at that time.
> Although I have yet to use these features, as we our developers are in close
> proximity and dont have a problem talking to each other ad nauseum. ;)
> 
> >Or is there a better way to do what I want?  Maybe CVS isn't what I need for
> >this.
> 
> If you dont think the edit-watch feature is enough, then CVS is not for
> you.
> 
> Rex.
> 
> 
> 



reply via email to

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