summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-14 00:55:32 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-14 00:55:32 +0000
commite2832bf86f96434b2031b66e3f3c8fac2dad75c8 (patch)
tree282759a86ecbf86ef3351f3dc8122cdcc6bd0174 /usr.bin/cvs
parente6d1fd33cd6aab15e6a68188f7e8a122a00aa6a9 (diff)
Don't trick user into believing that it's actually possible to add a file
to repository which is even ready to be checked out. "probably right" joris
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/add.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c
index 83ea781ba98..292f6f21498 100644
--- a/usr.bin/cvs/add.c
+++ b/usr.bin/cvs/add.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: add.c,v 1.100 2008/06/10 01:00:34 joris Exp $ */
+/* $OpenBSD: add.c,v 1.101 2008/06/14 00:55:31 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -358,6 +358,7 @@ add_file(struct cvs_file *cf)
added = stop = 0;
switch (cf->file_status) {
case FILE_ADDED:
+ case FILE_CHECKOUT:
if (verbosity > 1)
cvs_log(LP_NOTICE, "%s has already been entered",
cf->file_path);