summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/client.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-12-21 22:32:31 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-12-21 22:32:31 +0000
commit73759dab8545655ee7a35dfd41bcfc6eaa617b8b (patch)
tree7ab7cbca099cedf573d6e6de9a4e4b4162108583 /usr.bin/cvs/client.c
parent887485b3231bdbac7613a9368271e056c3362729 (diff)
if the add or import command is issued, send the wrapper-sendme-rcsOptions
request to the server.
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r--usr.bin/cvs/client.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index b2bfe704ca8..1caea4dd164 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.39 2006/12/20 16:25:27 xsa Exp $ */
+/* $OpenBSD: client.c,v 1.40 2006/12/21 22:32:30 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -275,6 +275,9 @@ cvs_client_connect_to_server(void)
if (verbosity == 2)
cvs_client_send_request("Global_option -V");
+ if (cvs_cmdop == CVS_OP_ADD || cvs_cmdop == CVS_OP_IMPORT)
+ cvs_client_send_request("wrapper-sendme-rcsOptions");
+
/* XXX: If 'Set' is supported? */
TAILQ_FOREACH(vp, &cvs_variables, cv_link)
cvs_client_send_request("Set %s=%s", vp->cv_name, vp->cv_val);