[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.141 and 1.142

version 1.141, 2008/06/14 03:19:15 version 1.142, 2008/06/14 04:34:08
Line 472 
Line 472 
                 rrev = rcs_head_get(cf->file_rcs);                  rrev = rcs_head_get(cf->file_rcs);
                 crev = rcs_head_get(cf->file_rcs);                  crev = rcs_head_get(cf->file_rcs);
                 if (crev == NULL || rrev == NULL)                  if (crev == NULL || rrev == NULL)
                         fatal("RCS head empty or missing in %s\n",                          fatal("no head revision in RCS file for %s",
                             cf->file_rcs->rf_path);                              cf->file_path);
   
                 tag = cvs_directory_tag;                  tag = cvs_directory_tag;
                 if (cf->file_ent != NULL && cf->file_ent->ce_tag != NULL)                  if (cf->file_ent != NULL && cf->file_ent->ce_tag != NULL)
Line 570 
Line 570 
                 cvs_printf("%s <- %s\n", cf->file_rpath, cf->file_path);                  cvs_printf("%s <- %s\n", cf->file_rpath, cf->file_path);
                 cvs_printf("old revision: %s; ", rbuf);                  cvs_printf("old revision: %s; ", rbuf);
         }          }
   
           if (isnew == 0 && cf->file_rcs->rf_head == NULL)
                   fatal("no head revision in RCS file for %s", cf->file_path);
   
         if (isnew == 0 && onbranch == 0)          if (isnew == 0 && onbranch == 0)
                 d = commit_diff(cf, cf->file_rcs->rf_head, 0);                  d = commit_diff(cf, cf->file_rcs->rf_head, 0);

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142