summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2007-01-14 22:20:47 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2007-01-14 22:20:47 +0000
commit4a6ace10112dd859902ed70625edfcbbd9f62161 (patch)
tree88f6d4b5a020530a7722cbb7ca361d2ea593e717 /usr.bin/cvs
parent135e88b8573d67ac000db57dd8da4dfd5ad42273 (diff)
reset sticky tags with -A; OK joris@.
Diffstat (limited to 'usr.bin/cvs')
-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 1ed6576f7b3..ba22ea370a5 100644
--- a/usr.bin/cvs/checkout.c
+++ b/usr.bin/cvs/checkout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: checkout.c,v 1.75 2007/01/14 18:44:55 joris Exp $ */
+/* $OpenBSD: checkout.c,v 1.76 2007/01/14 22:20:46 xsa Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -30,6 +30,7 @@ static void checkout_repository(const char *, const char *);
extern int prune_dirs;
extern int build_dirs;
+extern int reset_stickies;
struct cvs_cmd cvs_cmd_checkout = {
CVS_OP_CHECKOUT, 0, "checkout",
@@ -59,6 +60,9 @@ cvs_checkout(int argc, char **argv)
while ((ch = getopt(argc, argv, cvs_cmd_checkout.cmd_opts)) != -1) {
switch (ch) {
+ case 'A':
+ reset_stickies = 1;
+ break;
case 'P':
prune_dirs = 1;
break;