Re: cvs locking and watching...
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 Engineering503-699-2787 * * Luke Miller [EMAIL PROTECTED] on 05/02/2001 02:24:24 PM To: [EMAIL PROTECTED] 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. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs locking and watching...
You can use the edit and commit patches available on SourceForge. If you're using cvs-1.11, I can send you the updated patches. The patches'll allow users to supply options to edit and checkin that'll abort the operation if other edits exist and a valid edit doesn't exist, respectively. This has been discussed recently so if you search the archives, you'll get more info. Noel |+--- || | || millerl@biotr| || onik.com | || | || 2001.05.02 | || 17:24| || | |+--- | || | To: [EMAIL PROTECTED] | | cc: (bcc: Noel L Yap)| | Subject: cvs locking and watching... | | I have a groups of designers who are doing CAD work on binary graphical files. Based on that we can really only have one person in each file making changes at a time. I am looking for some inputs on what how best to handle this. I have gone though the manual and looked at reserved checkouts and watching. However, it seams like if one person starts editing a file (either with locking or watching) somone else can go and checkout that file and start to edit it as well and is only told that the first person is in it when they go to do a commit. Am I missing something there? Is there a way to tell the second second person that the first person is working in the file before the second person starts to edit it? Or is there a better way to do what I want? Maybe CVS isn't what I need for this. Thanks for your help, Luke * * Luke Miller Unix System Administrator * * Micro Systems Engineering503-699-2787 * * ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of J.P. Morgan Chase Co., its subsidiaries and affiliates. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs locking and watching...
Hello, On Wed, May 02, 2001 at 02:24:24PM -0700, Luke Miller wrote: I have a groups of designers who are doing CAD work on binary graphical files. Based on that we can really only have one person in each file making changes at a time. I am looking for some inputs on what how best to handle this. I have gone though the manual and looked at reserved checkouts and watching. However, it seams like if one person starts editing a file (either with locking or watching) somone else can go and checkout that file and start to edit it as well and is only told that the first person is in it when they go to do a commit. Am I missing something there? Is there a way to tell the second second person that the first person is working in the file before the second person starts to edit it? Or is there a better way to do what I want? Maybe CVS isn't what I need for this. Well, since they are binary files you don't really get all the advantages of CVS. You may want to look at alternatives. MAKE SURE your cvswrappers have the proper file extensions defined for these CAD files, like this : [cC][aA][dD] To make sure you cover all permutations of case sensitivity. That said, it sounds like you want cvs edit. A typical session would go like this : ( by default, all files are read-only in your sandbox ) cvs edit file.cad ( it will tell you if it is in use or not. If not, file becomes writable ) do some work.. cvs commit ( if someone decided to ignore the fact that you were editing it, they find out here. If you have to update, yours will be moved out of the way and you will merge them manually ). HTH, Rob Helmer Namodn Thanks for your help, Luke * * Luke Miller Unix System Administrator * * Micro Systems Engineering503-699-2787 * * ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs