diff options
author | 2008-06-14 00:55:31 +0000 | |
---|---|---|
committer | 2008-06-14 00:55:31 +0000 | |
commit | efc9c26f4d08044966571b299e09fd2e2e9c418c (patch) | |
tree | d9947d698de1224891a6e84343c35801523d903e | |
parent | Belt, suspenders, duct tape and glue. (diff) | |
download | wireguard-openbsd-efc9c26f4d08044966571b299e09fd2e2e9c418c.tar.xz wireguard-openbsd-efc9c26f4d08044966571b299e09fd2e2e9c418c.zip |
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
-rw-r--r-- | usr.bin/cvs/add.c | 3 |
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); |