From 61eefd2271fb6b7354c0707002b9d1109942b1aa Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 10 May 1999 13:49:51 +0000 Subject: Don't assume branch heads are alive.. (related to previous change to the older 1.9.26 baseline) --- contrib/cvs/src/diff.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/cvs/src') diff --git a/contrib/cvs/src/diff.c b/contrib/cvs/src/diff.c index ff1c4ed..f546c2d 100644 --- a/contrib/cvs/src/diff.c +++ b/contrib/cvs/src/diff.c @@ -439,7 +439,8 @@ diff_fileproc (callerdat, finfo) (vers->vn_rcs == NULL ? NULL : RCS_branch_head (vers->srcfile, vers->vn_rcs)); - exists = head != NULL; + exists = (head != NULL && + !RCS_isdead (vers->srcfile, head)); /*XXX*/ if (head != NULL) free (head); } -- cgit v1.1