[BACK]Return to add.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/add.c between version 1.6 and 1.7

version 1.6, 2004/12/06 02:19:54 version 1.7, 2004/12/06 21:03:12
Line 105 
Line 105 
   
         if (cf->cf_type == DT_DIR) {          if (cf->cf_type == DT_DIR) {
                 if (cf->cf_cvstat == CVS_FST_UNKNOWN) {                  if (cf->cf_cvstat == CVS_FST_UNKNOWN) {
                 }                  } else {
                 else {  
                         root = cf->cf_ddat->cd_root;                          root = cf->cf_ddat->cd_root;
                         if ((cf->cf_parent == NULL) ||                          if ((cf->cf_parent == NULL) ||
                             (root != cf->cf_parent->cf_ddat->cd_root)) {                              (root != cf->cf_parent->cf_ddat->cd_root)) {
Line 123 
Line 122 
   
         if (root->cr_method != CVS_METHOD_LOCAL) {          if (root->cr_method != CVS_METHOD_LOCAL) {
                 cvs_sendreq(root, CVS_REQ_ISMODIFIED, CVS_FILE_NAME(cf));                  cvs_sendreq(root, CVS_REQ_ISMODIFIED, CVS_FILE_NAME(cf));
         }          } else {
         else {  
                 cvs_log(LP_INFO, "scheduling file `%s' for addition",                  cvs_log(LP_INFO, "scheduling file `%s' for addition",
                     cf->cf_name);                      cf->cf_name);
                 cvs_log(LP_INFO, "use `%s commit' to add this file permanently",                  cvs_log(LP_INFO, "use `%s commit' to add this file permanently",

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7