bug-cvs
[Top][All Lists]
Advanced

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

Re: CVS watch command


From: Larry Jones
Subject: Re: CVS watch command
Date: Thu, 27 Jun 2002 09:51:14 -0400 (EDT)

Herb Croken writes:
> 
> I am trying to set a watch on a file and when I enter "CVS watch on
> filename" I get the message "unknown Command" watch_on, where watch anf on
> are concatenated with an underscore.  Ideas??

That's a known bug in CVS 1.11.2 that's already been fixed in the
current development version.  Either run the current development version
or apply the following patch:

Index: server.c
===================================================================
RCS file: /cvs/ccvs/src/server.c,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -r1.273 -r1.274
--- server.c    11 Feb 2002 18:49:33 -0000      1.273
+++ server.c    3 May 2002 17:20:48 -0000       1.274
@@ -3712,7 +3712,7 @@
 serve_watch_on (arg)
     char *arg;
 {
-    do_cvs_command ("watch_on", watch_on);
+    do_cvs_command ("watch", watch_on);
 }
 
 static void serve_watch_off PROTO ((char *));
@@ -3721,7 +3721,7 @@
 serve_watch_off (arg)
     char *arg;
 {
-    do_cvs_command ("watch_off", watch_off);
+    do_cvs_command ("watch", watch_off);
 }
 
 static void serve_watch_add PROTO ((char *));
@@ -3730,7 +3730,7 @@
 serve_watch_add (arg)
     char *arg;
 {
-    do_cvs_command ("watch_add", watch_add);
+    do_cvs_command ("watch", watch_add);
 }
 
 static void serve_watch_remove PROTO ((char *));
@@ -3739,7 +3739,7 @@
 serve_watch_remove (arg)
     char *arg;
 {
-    do_cvs_command ("watch_remove", watch_remove);
+    do_cvs_command ("watch", watch_remove);
 }
 
 static void serve_watchers PROTO ((char *));

-Larry Jones

You're just trying to get RID of me, aren't you? -- Calvin



reply via email to

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