summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/client.c
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2006-11-09 14:00:15 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2006-11-09 14:00:15 +0000
commitbfe98499c119cc63608361219abc3def12f7d15f (patch)
tree12934b8a11ee4cd172acc8b9fa43814911d477b1 /usr.bin/cvs/client.c
parentbb8c8c4c2c4a61c068810f37f2baae59b88990a8 (diff)
cvs init remote bits.
Diffstat (limited to 'usr.bin/cvs/client.c')
-rw-r--r--usr.bin/cvs/client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/client.c b/usr.bin/cvs/client.c
index 3797a29a4b7..c78ecf61f1a 100644
--- a/usr.bin/cvs/client.c
+++ b/usr.bin/cvs/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.17 2006/11/09 09:24:28 xsa Exp $ */
+/* $OpenBSD: client.c,v 1.18 2006/11/09 14:00:14 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -236,7 +236,8 @@ cvs_client_connect_to_server(void)
cvs_client_initlog();
- cvs_client_send_request("Root %s", current_cvsroot->cr_dir);
+ if (cvs_cmdop != CVS_OP_INIT)
+ cvs_client_send_request("Root %s", current_cvsroot->cr_dir);
resp = client_get_supported_responses();
cvs_client_send_request("Valid-responses %s", resp);