=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/annotate.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/cvs/annotate.c 2004/12/14 22:30:47 1.2 --- src/usr.bin/cvs/annotate.c 2004/12/21 18:32:09 1.3 *************** *** 1,4 **** ! /* $OpenBSD: annotate.c,v 1.2 2004/12/14 22:30:47 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: annotate.c,v 1.3 2004/12/21 18:32:09 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 150,161 **** ret = 0; root = CVS_DIR_ROOT(cf); ! if ((root->cr_method != CVS_METHOD_LOCAL) && (cf->cf_type == DT_DIR)) { ! if (cf->cf_cvstat == CVS_FST_UNKNOWN) ! ret = cvs_sendreq(root, CVS_REQ_QUESTIONABLE, ! CVS_FILE_NAME(cf)); ! else ! ret = cvs_senddir(root, cf); return (ret); } --- 150,164 ---- ret = 0; root = CVS_DIR_ROOT(cf); ! if (cf->cf_type == DT_DIR) { ! if (root->cr_method != CVS_METHOD_LOCAL) { ! if (cf->cf_cvstat == CVS_FST_UNKNOWN) ! ret = cvs_sendreq(root, CVS_REQ_QUESTIONABLE, ! CVS_FILE_NAME(cf)); ! else ! ret = cvs_senddir(root, cf); ! } ! return (ret); }