From c5bee9b77e859fa642c97be06613bd046d890c7f Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Sun, 3 Feb 2008 16:59:12 +0000 Subject: Do not unify this "-fr UNKNOWN" handling, it breaks commands which have to work fine and just ignore files which don't have requested symbol. Spotted by joris@. --- usr.bin/cvs/rcs.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'usr.bin/cvs/rcs.c') diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index d10d0e68561..fab8c63ad5b 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.244 2008/02/02 16:59:48 tobias Exp $ */ +/* $OpenBSD: rcs.c,v 1.245 2008/02/03 16:59:11 tobias Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -2657,14 +2657,8 @@ rcs_translate_tag(const char *revstr, RCSFILE *rfp) rev = rcs_sym_getrev(rfp, revstr); } - /* - * Although many cvs commands do have option -f to force head - * if a revision is not found, GNU cvs simply fatals with - * unknown symbols. If we reach this point rev is still NULL, - * do the same... - */ if (rev == NULL) - fatal("no such tag %s", revstr); + return (NULL); /* * If it was not a branch, thats ok the symbolic -- cgit v1.2.3