summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-01-17 20:38:51 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-01-17 20:38:51 +0000
commitf5b78cc329707cc9a5bd946350de7f7040567fbc (patch)
tree846c72be78458e9e0884e67e638a3e705544a14a
parent97eb97c5ef871b7f73c592795c48189cbb2b10e8 (diff)
send -l Argument to server when appropriate.
-rw-r--r--usr.bin/cvs/checkout.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index ccc6764f6da..da23f8a377b 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.79 2007/01/17 17:54:50 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.80 2007/01/17 20:38:50 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -133,6 +133,9 @@ checkout_check_repository(int argc, char **argv)
if (reset_stickies == 1)
cvs_client_send_request("Argument -A");
+ if (!(flags & CR_RECURSE_DIRS))
+ cvs_client_send_request("Argument -l");
+
if (cvs_cmdop == CVS_OP_CHECKOUT && prune_dirs == 1)
cvs_client_send_request("Argument -P");