summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2008-02-03 20:01:38 +0000
committerJoris Vink <joris@cvs.openbsd.org>2008-02-03 20:01:38 +0000
commit473e56925c47d19494362132a34598faeb0b8e2c (patch)
treef39fc008bafdc4890e2b55e4dbb15ecf183bf9cc
parent0c67d9afc6d66ce04da77c32d098e8a9eeef92eb (diff)
dont forget to send the -d flag to our server as well if it
was specified;
-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 72666da1f52..8ace925fbde 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.121 2008/02/03 19:57:44 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.122 2008/02/03 20:01:37 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -169,6 +169,9 @@ checkout_check_repository(int argc, char **argv)
if (reset_stickies == 1)
cvs_client_send_request("Argument -A");
+ if (dflag != NULL)
+ cvs_client_send_request("Argument -d%s", dflag);
+
if (!(flags & CR_RECURSE_DIRS))
cvs_client_send_request("Argument -l");