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

Diff for /src/usr.bin/cvs/remove.c between version 1.24 and 1.25

version 1.24, 2005/07/24 17:20:14 version 1.25, 2005/07/24 17:48:05
Line 159 
Line 159 
                         return (CVS_EX_FILE);                          return (CVS_EX_FILE);
         }          }
   
         if (!nuked) {          if (nuked == 0) {
                 existing++;                  existing++;
                 if (verbosity > 1)                  if (verbosity > 1)
                         cvs_log(LP_WARN, "file `%s' still in working directory",                          cvs_log(LP_WARN, "file `%s' still in working directory",
Line 196 
Line 196 
                 removed++;                  removed++;
         }          }
   
         if (removed) {          if (removed != 0) {
                 if (verbosity > 0)                  if (verbosity > 0)
                         cvs_log(LP_INFO, "use '%s commit' to remove %s "                          cvs_log(LP_INFO, "use '%s commit' to remove %s "
                             "permanently", __progname,                              "permanently", __progname,
Line 204 
Line 204 
                 return (0);                  return (0);
         }          }
   
         if (existing) {          if (existing != 0) {
                 cvs_log(LP_WARN, ((existing == 1) ?                  cvs_log(LP_WARN, ((existing == 1) ?
                     "%d file exists; remove it first" :                      "%d file exists; remove it first" :
                     "%d files exist; remove them first"), existing);                      "%d files exist; remove them first"), existing);

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25