[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.129 and 1.130

version 1.129, 2006/03/27 22:11:08 version 1.130, 2006/03/28 12:07:10
Line 768 
Line 768 
         int ret;          int ret;
         if (verbose == 1)          if (verbose == 1)
                 printf("symbol: %s\n", pb->symbol);                  printf("symbol: %s\n", pb->symbol);
         if (pb->flags & CI_SYMFORCE)          if (pb->flags & CI_SYMFORCE) {
                 rcs_sym_remove(pb->file, pb->symbol);                  if (rcs_sym_remove(pb->file, pb->symbol) < 0) {
                           if (rcs_errno != RCS_ERR_NOENT) {
                                   cvs_log(LP_ERR,
                                       "problem removing symbol: %s", pb->symbol);
                                   return (-1);
                           }
                   }
           }
         if ((ret = rcs_sym_add(pb->file, pb->symbol, pb->newrev) == -1)          if ((ret = rcs_sym_add(pb->file, pb->symbol, pb->newrev) == -1)
             && (rcs_errno == RCS_ERR_DUPENT)) {              && (rcs_errno == RCS_ERR_DUPENT)) {
                 rcsnum_tostr(rcs_sym_getrev(pb->file, pb->symbol),                  rcsnum_tostr(rcs_sym_getrev(pb->file, pb->symbol),

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