[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.106 and 1.107

version 1.106, 2009/01/02 00:11:01 version 1.107, 2009/02/21 14:50:53
Line 438 
Line 438 
                 if (cf->file_rcs == NULL) {                  if (cf->file_rcs == NULL) {
                         cvs_log(LP_NOTICE, "cannot resurrect %s; "                          cvs_log(LP_NOTICE, "cannot resurrect %s; "
                             "RCS file removed by second party", cf->file_name);                              "RCS file removed by second party", cf->file_name);
                 } else if (cf->fd == -1) {                  } else if (!(cf->file_flags & FILE_ON_DISK)) {
                         add_entry(cf);                          add_entry(cf);
   
                         /* Restore the file. */                          /* Restore the file. */
Line 469 
Line 469 
                             "(instead of dead revision %s)",                              "(instead of dead revision %s)",
                             cf->file_path, revbuf);                              cf->file_path, revbuf);
                         added++;                          added++;
                 } else if (cf->fd != -1) {                  } else if (cf->file_flags & FILE_ON_DISK) {
                         cvs_log(LP_NOTICE, "scheduling file '%s' for addition",                          cvs_log(LP_NOTICE, "scheduling file '%s' for addition",
                             cf->file_path);                              cf->file_path);
                         added++;                          added++;

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107