[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.28 and 1.29

version 1.28, 2005/04/19 00:35:02 version 1.29, 2005/04/19 02:04:56
Line 143 
Line 143 
         struct cvs_flist *clp = (struct cvs_flist *)arg;          struct cvs_flist *clp = (struct cvs_flist *)arg;
   
         if ((cf->cf_type == DT_REG) && ((cf->cf_cvstat == CVS_FST_MODIFIED) ||          if ((cf->cf_type == DT_REG) && ((cf->cf_cvstat == CVS_FST_MODIFIED) ||
             (cf->cf_cvstat == CVS_FST_ADDED))) {              (cf->cf_cvstat == CVS_FST_ADDED) ||
               (cf->cf_cvstat == CVS_FST_REMOVED))) {
                 copy = cvs_file_copy(cf);                  copy = cvs_file_copy(cf);
                 if (copy == NULL)                  if (copy == NULL)
                         return (CVS_EX_DATA);                          return (CVS_EX_DATA);
Line 188 
Line 189 
                 repo = cf->cf_parent->cf_repo;                  repo = cf->cf_parent->cf_repo;
   
         if ((cf->cf_cvstat == CVS_FST_ADDED) ||          if ((cf->cf_cvstat == CVS_FST_ADDED) ||
             (cf->cf_cvstat == CVS_FST_MODIFIED)) {              (cf->cf_cvstat == CVS_FST_MODIFIED) ||
               (cf->cf_cvstat == CVS_FST_REMOVED)) {
                 if (root->cr_method != CVS_METHOD_LOCAL) {                  if (root->cr_method != CVS_METHOD_LOCAL) {
                         if (cvs_sendentry(root, cf) < 0) {                          if (cvs_sendentry(root, cf) < 0) {
                                 return (CVS_EX_PROTO);                                  return (CVS_EX_PROTO);

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29