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

Diff for /src/usr.bin/cvs/file.c between version 1.241 and 1.242

version 1.241, 2008/06/09 17:05:49 version 1.242, 2008/06/09 22:31:24
Line 879 
Line 879 
                                             "in the repository but is "                                              "in the repository but is "
                                             "locally modified",                                              "locally modified",
                                             cf->file_path);                                              cf->file_path);
                                         cf->file_status = FILE_CONFLICT;                                          if (cvs_cmdop == CVS_OP_COMMIT)
                                                   cf->file_status = FILE_UNLINK;
                                           else
                                                   cf->file_status = FILE_CONFLICT;
                                 } else if (cvs_cmdop != CVS_OP_IMPORT) {                                  } else if (cvs_cmdop != CVS_OP_IMPORT) {
                                         cvs_log(LP_NOTICE,                                          cvs_log(LP_NOTICE,
                                             "%s is no longer in the "                                              "%s is no longer in the "
Line 904 
Line 907 
                                         cf->file_status = FILE_MODIFIED;                                          cf->file_status = FILE_MODIFIED;
                                 else                                  else
                                         cf->file_status = FILE_UPTODATE;                                          cf->file_status = FILE_UPTODATE;
   
                                 if (rcsnum_differ(cf->file_ent->ce_rev,                                  if (rcsnum_differ(cf->file_ent->ce_rev,
                                     cf->file_rcsrev)) {                                      cf->file_rcsrev)) {
                                         if (cf->file_status == FILE_MODIFIED)                                          if (cf->file_status == FILE_MODIFIED)
                                                 cf->file_status = FILE_MERGE;                                                  cf->file_status = FILE_MERGE;
                                         else                                          else
                                                 cf->file_status = FILE_PATCH;                                                  cf->file_status = FILE_PATCH;
                                   } else if (cf->file_ent->ce_conflict != NULL &&
                                       cf->file_status != FILE_MODIFIED) {
                                           cf->file_status = FILE_CONFLICT;
                                 }                                  }
                         }                          }
                 }                  }

Legend:
Removed from v.1.241  
changed lines
  Added in v.1.242