summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-06-28 08:54:55 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-06-28 08:54:55 +0000
commit59ad35607b1eb84838da01894978b18635a177eb (patch)
treebbc5a2822a8ca21fb7da39aff18850b8d6d33919 /usr.bin
parentf1db92f1fb84390c3917f40e5735ebe9586b0b87 (diff)
send date;
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/checkout.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/cvs/checkout.c b/usr.bin/cvs/checkout.c
index 41f37063be8..5158e04e070 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.33 2005/06/13 07:40:39 xsa Exp $ */
+/* $OpenBSD: checkout.c,v 1.34 2005/06/28 08:54:54 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -254,6 +254,10 @@ cvs_checkout_pre_exec(struct cvsroot *root)
if ((tag != NULL) && ((cvs_sendarg(root, "-r", 0) < 0) ||
(cvs_sendarg(root, tag, 0) < 0)))
return (CVS_EX_PROTO);
+
+ if ((date != NULL) && ((cvs_sendarg(root, "-D", 0) < 0) ||
+ (cvs_sendarg(root, date, 0) < 0)))
+ return (CVS_EX_PROTO);
}
return (0);
}