This patch resets modifications for static variables by Global_option
after doing cvs commands in server mode.
I'm not sure that they should be reset or not. But I think it's
reasonable because it seems that there is no way to reset them.
Especially resetting `noexec' is important. Because `cvs update -p'
set it and make following commands non-executing mode. Is there
better way to reset `noexec' in this case?
This patch shouldn't affect usual command line client because it
connects a server for each cvs command. But it affects me because I'm
tring to do multiple cvs commands with single connection.
Index: server.c
===================================================================
RCS file: /home/akr/.cvsroot/ccvs/src/server.c,v
retrieving revision 1.246
diff -u -r1.246 server.c
--- server.c 2000/10/20 20:48:00 1.246
+++ server.c 2000/11/15 02:17:13
@@ -3232,6 +3232,13 @@
argument_count = 1;
}
+ quiet = 0;
+ cvswrite = !CVSREAD_DFLT;
+ really_quiet = 0;
+ trace = 0;
+ noexec = 0;
+ logoff = 0;
+
/* Flush out any data not yet sent. */
set_block (buf_to_net);
buf_flush (buf_to_net, 1);
--
Tanaka Akira
_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs