[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.82 and 1.83

version 1.82, 2007/09/23 11:19:24 version 1.83, 2008/01/10 09:37:26
Line 257 
Line 257 
   
         if (cf->file_rcs != NULL) {          if (cf->file_rcs != NULL) {
                 head = rcs_head_get(cf->file_rcs);                  head = rcs_head_get(cf->file_rcs);
                   if (head == NULL)
                           fatal("RCS head empty or missing in %s\n",
                               cf->file_rcs->rf_path);
                 rcsnum_tostr(head, revbuf, sizeof(revbuf));                  rcsnum_tostr(head, revbuf, sizeof(revbuf));
                 rcsnum_free(head);                  rcsnum_free(head);
         }          }
Line 278 
Line 281 
   
                         /* Restore the file. */                          /* Restore the file. */
                         head = rcs_head_get(cf->file_rcs);                          head = rcs_head_get(cf->file_rcs);
                           if (head == NULL)
                                   fatal("RCS head empty or missing in %s\n",
                                       cf->file_rcs->rf_path);
                         cvs_checkout_file(cf, head, NULL, 0);                          cvs_checkout_file(cf, head, NULL, 0);
                         rcsnum_free(head);                          rcsnum_free(head);
   

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83