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

Diff for /src/usr.bin/rcs/ci.c between version 1.130 and 1.131

version 1.130, 2006/03/28 12:07:10 version 1.131, 2006/03/28 12:48:51
Line 568 
Line 568 
          * If we are checking in to a non-default (ie user-specified)           * If we are checking in to a non-default (ie user-specified)
          * revision, set head to this revision.           * revision, set head to this revision.
          */           */
         if (pb->newrev != NULL)          if (pb->newrev != NULL) {
                 rcs_head_set(pb->file, pb->newrev);                  if (rcs_head_set(pb->file, pb->newrev) < 0)
         else                          fatal("rcs_head_set failed");
           } else
                 pb->newrev = pb->file->rf_head;                  pb->newrev = pb->file->rf_head;
   
         /* New head revision has to contain entire file; */          /* New head revision has to contain entire file; */
Line 704 
Line 705 
          * If we are checking in to a non-default (ie user-specified)           * If we are checking in to a non-default (ie user-specified)
          * revision, set head to this revision.           * revision, set head to this revision.
          */           */
         if (pb->newrev != NULL)          if (pb->newrev != NULL) {
                 rcs_head_set(pb->file, pb->newrev);                  if (rcs_head_set(pb->file, pb->newrev) < 0)
         else                          fatal("rcs_head_set failed");
           } else
                 pb->newrev = pb->file->rf_head;                  pb->newrev = pb->file->rf_head;
   
         /* New head revision has to contain entire file; */          /* New head revision has to contain entire file; */

Legend:
Removed from v.1.130  
changed lines
  Added in v.1.131