summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-11-10 11:02:06 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-11-10 11:02:06 +0000
commitb6f99c47962964adb3daf4bfc772965ac50f901e (patch)
treea9c8d6cc0753f0840e9220dab65e703c8c7d92ce
parent92aeaf6a620fc317da8c80640986887fe71333e5 (diff)
do not forget to send -l and -q Global options too.
-rw-r--r--usr.bin/cvs/client.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 0be78ffa2df..c065c9e11bf 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.19 2006/11/10 10:53:06 xsa Exp $ */
+/* $OpenBSD: client.c,v 1.20 2006/11/10 11:02:05 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -246,12 +246,18 @@ cvs_client_connect_to_server(void)
cvs_client_send_request("valid-requests");
cvs_client_get_responses();
+ if (cvs_nolog == 1)
+ cvs_client_send_request("Global_option -l");
+
if (cvs_noexec == 1)
cvs_client_send_request("Global_option -n");
if (verbosity == 0)
cvs_client_send_request("Global_option -Q");
+ /* Be quiet. This is the default in OpenCVS. */
+ cvs_client_send_request("Global_option -q");
+
if (cvs_readonly == 1)
cvs_client_send_request("Global_option -r");