=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/diff.c,v retrieving revision 1.114 retrieving revision 1.115 diff -c -r1.114 -r1.115 *** src/usr.bin/cvs/diff.c 2007/01/15 04:21:38 1.114 --- src/usr.bin/cvs/diff.c 2007/01/20 01:07:51 1.115 *************** *** 1,4 **** ! /* $OpenBSD: diff.c,v 1.114 2007/01/15 04:21:38 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: diff.c,v 1.115 2007/01/20 01:07:51 niallo Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 192,200 **** } if (rev1 != NULL) ! diff_rev1 = rcs_translate_tag(rev1, cf->file_rcs); if (rev2 != NULL) ! diff_rev2 = rcs_translate_tag(rev2, cf->file_rcs); diff_file = cf->file_path; cvs_printf("Index: %s\n%s\nRCS file: %s\n", cf->file_path, --- 192,202 ---- } if (rev1 != NULL) ! if ((diff_rev1 = rcs_translate_tag(rev1, cf->file_rcs)) == NULL) ! fatal("cvs_diff_local: could not translate tag `%s'", rev1); if (rev2 != NULL) ! if ((diff_rev2 = rcs_translate_tag(rev2, cf->file_rcs)) == NULL) ! fatal("cvs_diff_local: could not translate tag `%s'", rev2); diff_file = cf->file_path; cvs_printf("Index: %s\n%s\nRCS file: %s\n", cf->file_path,