=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/status.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/cvs/status.c 2004/12/14 22:30:48 1.5 --- src/usr.bin/cvs/status.c 2004/12/21 18:32:10 1.6 *************** *** 1,4 **** ! /* $OpenBSD: status.c,v 1.5 2004/12/14 22:30:48 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: status.c,v 1.6 2004/12/21 18:32:10 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 133,140 **** root = CVS_DIR_ROOT(cfp); repo = CVS_DIR_REPO(cfp); ! if ((root->cr_method != CVS_METHOD_LOCAL) && (cfp->cf_type == DT_DIR)) ! return (cvs_senddir(root, cfp)); cvs_file_getpath(cfp, fpath, sizeof(fpath)); entp = cvs_ent_getent(fpath); --- 133,149 ---- root = CVS_DIR_ROOT(cfp); repo = CVS_DIR_REPO(cfp); ! if (cfp->cf_type == DT_DIR) { ! if (root->cr_method != CVS_METHOD_LOCAL) { ! if (cfp->cf_cvstat == CVS_FST_UNKNOWN) ! ret = cvs_sendreq(root, CVS_REQ_QUESTIONABLE, ! CVS_FILE_NAME(cfp)); ! else ! ret = cvs_senddir(root, cfp); ! } ! ! return (ret); ! } cvs_file_getpath(cfp, fpath, sizeof(fpath)); entp = cvs_ent_getent(fpath);