=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/util.c,v retrieving revision 1.99 retrieving revision 1.100 diff -c -r1.99 -r1.100 *** src/usr.bin/cvs/util.c 2007/01/19 23:55:31 1.99 --- src/usr.bin/cvs/util.c 2007/01/20 01:07:51 1.100 *************** *** 1,4 **** ! /* $OpenBSD: util.c,v 1.99 2007/01/19 23:55:31 todd Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * Copyright (c) 2005, 2006 Joris Vink --- 1,4 ---- ! /* $OpenBSD: util.c,v 1.100 2007/01/20 01:07:51 niallo Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * Copyright (c) 2005, 2006 Joris Vink *************** *** 934,943 **** if (lstr == NULL) lstr = RCS_HEAD_INIT; ! lnum = rcs_translate_tag(lstr, file); if (rstr != NULL) { ! rnum = rcs_translate_tag(rstr, file); } else { rnum = rcsnum_alloc(); rcsnum_cpy(file->rf_head, rnum, 0); --- 934,945 ---- if (lstr == NULL) lstr = RCS_HEAD_INIT; ! if ((lnum = rcs_translate_tag(lstr, file)) == NULL) ! fatal("cvs_revision_select: could not translate tag `%s'", lstr); if (rstr != NULL) { ! if ((rnum = rcs_translate_tag(rstr, file)) == NULL) ! fatal("cvs_revision_select: could not translate tag `%s'", rstr); } else { rnum = rcsnum_alloc(); rcsnum_cpy(file->rf_head, rnum, 0);