=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/add.c,v retrieving revision 1.6 retrieving revision 1.7 diff -c -r1.6 -r1.7 *** src/usr.bin/cvs/add.c 2004/12/06 02:19:54 1.6 --- src/usr.bin/cvs/add.c 2004/12/06 21:03:12 1.7 *************** *** 1,4 **** ! /* $OpenBSD: add.c,v 1.6 2004/12/06 02:19:54 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: add.c,v 1.7 2004/12/06 21:03:12 deraadt Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 105,112 **** if (cf->cf_type == DT_DIR) { if (cf->cf_cvstat == CVS_FST_UNKNOWN) { ! } ! else { root = cf->cf_ddat->cd_root; if ((cf->cf_parent == NULL) || (root != cf->cf_parent->cf_ddat->cd_root)) { --- 105,111 ---- if (cf->cf_type == DT_DIR) { if (cf->cf_cvstat == CVS_FST_UNKNOWN) { ! } else { root = cf->cf_ddat->cd_root; if ((cf->cf_parent == NULL) || (root != cf->cf_parent->cf_ddat->cd_root)) { *************** *** 123,130 **** if (root->cr_method != CVS_METHOD_LOCAL) { cvs_sendreq(root, CVS_REQ_ISMODIFIED, CVS_FILE_NAME(cf)); ! } ! else { cvs_log(LP_INFO, "scheduling file `%s' for addition", cf->cf_name); cvs_log(LP_INFO, "use `%s commit' to add this file permanently", --- 122,128 ---- if (root->cr_method != CVS_METHOD_LOCAL) { cvs_sendreq(root, CVS_REQ_ISMODIFIED, CVS_FILE_NAME(cf)); ! } else { cvs_log(LP_INFO, "scheduling file `%s' for addition", cf->cf_name); cvs_log(LP_INFO, "use `%s commit' to add this file permanently",