[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.101 and 1.102

version 1.101, 2008/06/14 00:55:31 version 1.102, 2008/06/14 02:34:27
Line 349 
Line 349 
         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)                  if (head == NULL)
                         fatal("RCS head empty or missing in %s\n",                          fatal("RCS head empty or missing in %s",
                             cf->file_rcs->rf_path);                              cf->file_rcs->rf_path);
                 rcsnum_tostr(head, revbuf, sizeof(revbuf));                  rcsnum_tostr(head, revbuf, sizeof(revbuf));
                 rcsnum_free(head);                  rcsnum_free(head);
Line 374 
Line 374 
                         /* Restore the file. */                          /* Restore the file. */
                         head = rcs_head_get(cf->file_rcs);                          head = rcs_head_get(cf->file_rcs);
                         if (head == NULL)                          if (head == NULL)
                                 fatal("RCS head empty or missing in %s\n",                                  fatal("RCS head empty or missing in %s",
                                     cf->file_rcs->rf_path);                                      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.101  
changed lines
  Added in v.1.102