summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/update.c
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2006-05-27 15:53:02 +0000
committerJoris Vink <joris@cvs.openbsd.org>2006-05-27 15:53:02 +0000
commit14ffcf0ce845fafd23e66a9ee05f0c592cf6bb99 (patch)
treef90ca33cb8e84812c6b76b0b581f974524832295 /usr.bin/cvs/update.c
parentd38c03a24453b3c4cd5c99e79987a8a18d063803 (diff)
update needs the CR_REPO flag to, otherwise it will forget
about any new files or directories inside the repository
Diffstat (limited to 'usr.bin/cvs/update.c')
-rw-r--r--usr.bin/cvs/update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index 1986dfab76e..80d6b12b9c6 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.61 2006/05/27 15:14:27 joris Exp $ */
+/* $OpenBSD: update.c,v 1.62 2006/05/27 15:53:01 joris Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
*
@@ -44,7 +44,7 @@ cvs_update(int argc, char **argv)
int flags;
struct cvs_recursion cr;
- flags = CR_RECURSE_DIRS;
+ flags = CR_REPO | CR_RECURSE_DIRS;
while ((ch = getopt(argc, argv, cvs_cmd_update.cmd_opts)) != -1) {
switch (ch) {