=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/rcs.c,v retrieving revision 1.219 retrieving revision 1.220 diff -c -r1.219 -r1.220 *** src/usr.bin/cvs/rcs.c 2007/09/17 10:07:21 1.219 --- src/usr.bin/cvs/rcs.c 2007/09/22 15:41:46 1.220 *************** *** 1,4 **** ! /* $OpenBSD: rcs.c,v 1.219 2007/09/17 10:07:21 tobias Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: rcs.c,v 1.220 2007/09/22 15:41:46 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 2594,2602 **** if (rev == NULL) return (NULL); ! /* If this isn't a branch revision, we have a problem */ if (!RCSNUM_ISBRANCH(rev)) ! fatal("rcs_translate_tag: tag `%s' is not a branch", revstr); brev = rcsnum_alloc(); rcsnum_cpy(rev, brev, rev->rn_len - 1); --- 2594,2606 ---- if (rev == NULL) return (NULL); ! /* ! * If it was not a branch, thats ok the symbolic ! * name refered to a revision, so return the resolved ! * revision for the given name. ! */ if (!RCSNUM_ISBRANCH(rev)) ! return (rev); brev = rcsnum_alloc(); rcsnum_cpy(rev, brev, rev->rn_len - 1);