diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-06-28 08:54:55 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-06-28 08:54:55 +0000 |
commit | 59ad35607b1eb84838da01894978b18635a177eb (patch) | |
tree | bbc5a2822a8ca21fb7da39aff18850b8d6d33919 /usr.bin | |
parent | f1db92f1fb84390c3917f40e5735ebe9586b0b87 (diff) |
send date;
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cvs/checkout.c | 6 |
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); } |