info-cvs
[Top][All Lists]
Advanced

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

questions about watch/notify


From: Rob Clack
Subject: questions about watch/notify
Date: Fri, 13 Sep 2002 09:59:18 +0100 (BST)

I want to have CVS notify me when someone else edits a file I'm editing,
but also to notify the other editor that I am already doing so.  I can't
find a way to do this, so the first question is, have I missed something?

Assuming I hadn't, I wrote a little perl script to do it for me, but now
I can't manage to implement it.

When I commit the notify file, CVS inserts extra text into my line, so

ALL myscript $RCSfile$ %s

becomes

ALL myscript $RCSfile: notify,v$ %s

and this generates an error as $RCSfile: doesn't exist.

So my second question is, is this the right way to be doing this, and if
so how do I prevent CVS from corrupting my command line?  It changes all
occurrences of $RCSfile$ in the file.

Thanks in advance
Rob

 ------------------------------------------------------------------------
| Rob Clack     Acedb Development,  Informatics Group,                   |
|               Wellcome Trust Sanger Institute,                         |
|               Wellcome Trust Genome Campus,                            |
|               Hinxton, Cambridge, CB10 1SA     UK                      |
|                                                                        |
| email: address@hidden  Tel: +44-1223-494780  Fax: +44-1223-494919    |
 ------------------------------------------------------------------------







reply via email to

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