diff options
author | 2008-02-02 16:59:48 +0000 | |
---|---|---|
committer | 2008-02-02 16:59:48 +0000 | |
commit | 41cc8e0affb1f6b87de2f4fb60681f3fb7f8899c (patch) | |
tree | d6d378bb76732b2b248ae2c4bbec92ddd6fb1255 /usr.bin/cvs/annotate.c | |
parent | Sync `rannotate' synopsis. r* commands work on repository modules. (diff) | |
download | wireguard-openbsd-41cc8e0affb1f6b87de2f4fb60681f3fb7f8899c.tar.xz wireguard-openbsd-41cc8e0affb1f6b87de2f4fb60681f3fb7f8899c.zip |
Although this doesn't comply to common sense, it complies to GNU cvs. All
commands which supply -f and -r have this weirdness: an unknown
symbol leads to fatal instead of head revision.
OK xsa@
Diffstat (limited to 'usr.bin/cvs/annotate.c')
-rw-r--r-- | usr.bin/cvs/annotate.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/cvs/annotate.c b/usr.bin/cvs/annotate.c index 98f7365dcc4..2e8c6cc9feb 100644 --- a/usr.bin/cvs/annotate.c +++ b/usr.bin/cvs/annotate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: annotate.c,v 1.48 2008/02/02 16:44:11 xsa Exp $ */ +/* $OpenBSD: annotate.c,v 1.49 2008/02/02 16:59:48 tobias Exp $ */ /* * Copyright (c) 2007 Tobias Stoeckmann <tobias@openbsd.org> * Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org> @@ -161,12 +161,6 @@ cvs_annotate_local(struct cvs_file *cf) /* Stick at weird GNU cvs, ignore error. */ return; - /* -f is not allowed for unknown symbols */ - rev = rcsnum_parse(cvs_specified_tag); - if (rev == NULL) - fatal("no such tag %s", cvs_specified_tag); - - rcsnum_free(rev); rev = rcsnum_alloc(); rcsnum_cpy(cf->file_rcs->rf_head, rev, 0); } |