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

Diff for /src/usr.bin/cvs/commit.c between version 1.143 and 1.144

version 1.143, 2008/06/15 04:38:52 version 1.144, 2008/07/08 12:54:13
Line 480 
Line 480 
         nrev = RCS_HEAD_REV;          nrev = RCS_HEAD_REV;
         crev = NULL;          crev = NULL;
         rrev = NULL;          rrev = NULL;
           d = NULL;
   
         if (cf->file_rcs != NULL && cf->file_rcs->rf_branch != NULL) {          if (cf->file_rcs != NULL && cf->file_rcs->rf_branch != NULL) {
                 rcsnum_free(cf->file_rcs->rf_branch);                  rcsnum_free(cf->file_rcs->rf_branch);
Line 704 
Line 705 
         case FILE_REMOVED:          case FILE_REMOVED:
                 histtype = CVS_HISTORY_COMMIT_REMOVED;                  histtype = CVS_HISTORY_COMMIT_REMOVED;
                 break;                  break;
           default:
                   histtype = -1;
                   break;
         }          }
   
         if (crev != NULL)          if (crev != NULL)
                 rcsnum_free(crev);                  rcsnum_free(crev);
   
         cvs_history_add(histtype, cf, NULL);          if (histtype != -1)
                   cvs_history_add(histtype, cf, NULL);
           else
                   cvs_log(LP_NOTICE, "histtype was -1 for %s", cf->file_path);
 }  }
   
 static BUF *  static BUF *

Legend:
Removed from v.1.143  
changed lines
  Added in v.1.144