summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorJoris Vink <joris@cvs.openbsd.org>2005-09-13 17:24:39 +0000
committerJoris Vink <joris@cvs.openbsd.org>2005-09-13 17:24:39 +0000
commit4cd92811e78d8a303b1d2344ace0a6d49ae4f3d7 (patch)
tree1d661e2640a00da20a29807cfc655cbe378e2123 /usr.bin/cvs
parente42484bbf752a8a6fdbae22ef691f31fe34d3d46 (diff)
unbreak opencvs server
ok xsa@
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/cmd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/cmd.c b/usr.bin/cvs/cmd.c
index adffee9c9b2..b30b840aa98 100644
--- a/usr.bin/cvs/cmd.c
+++ b/usr.bin/cvs/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.34 2005/09/07 17:43:15 joris Exp $ */
+/* $OpenBSD: cmd.c,v 1.35 2005/09/13 17:24:38 joris Exp $ */
/*
* Copyright (c) 2005 Joris Vink <joris@openbsd.org>
* All rights reserved.
@@ -182,7 +182,8 @@ cvs_startcmd(struct cvs_cmd *cmd, int argc, char **argv)
*/
error = 0;
if ((cmd->cmd_op != CVS_OP_CHECKOUT) && (cmd->cmd_op != CVS_OP_EXPORT) &&
- (cmd->cmd_op != CVS_OP_IMPORT) && (cmd->cmd_op != CVS_OP_RELEASE)) {
+ (cmd->cmd_op != CVS_OP_IMPORT) && (cmd->cmd_op != CVS_OP_RELEASE) &&
+ (cmd->cmd_op != CVS_OP_VERSION)) {
/* check for the CVS directory */
ret = stat(CVS_PATH_CVSDIR, &st);
if (((ret == -1) && (errno == ENOENT)) || ((ret != -1) &&