summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/rcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cvs/rcs.c')
-rw-r--r--usr.bin/cvs/rcs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c
index ce6e76cbc4d..dc0be399bee 100644
--- a/usr.bin/cvs/rcs.c
+++ b/usr.bin/cvs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.178 2006/05/31 18:26:14 joris Exp $ */
+/* $OpenBSD: rcs.c,v 1.179 2006/05/31 22:25:59 joris Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -2985,6 +2985,8 @@ rcs_translate_tag(const char *revstr, RCSFILE *rfp)
}
if (brp == NULL) {
+ if (cvs_cmdop == CVS_OP_IMPORT)
+ return (NULL);
rcsnum_cpy(rdp->rd_num, rev, 0);
return (rev);
}