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

Diff for /src/usr.bin/cvs/import.c between version 1.8 and 1.9

version 1.8, 2005/04/03 17:32:50 version 1.9, 2005/04/11 17:56:27
Line 73 
Line 73 
                         if ((bnum = rcsnum_parse(branch)) == NULL) {                          if ((bnum = rcsnum_parse(branch)) == NULL) {
                                 cvs_log(LP_ERR, "%s is not a numeric branch",                                  cvs_log(LP_ERR, "%s is not a numeric branch",
                                     branch);                                      branch);
                                 return (EX_USAGE);                                  return (1);
                         }                          }
                         rcsnum_free(bnum);                          rcsnum_free(bnum);
                         break;                          break;
Line 83 
Line 83 
                         if (cvs_file_ignore(optarg) < 0) {                          if (cvs_file_ignore(optarg) < 0) {
                                 cvs_log(LP_ERR, "failed to add `%s' to list "                                  cvs_log(LP_ERR, "failed to add `%s' to list "
                                     "of ignore patterns", optarg);                                      "of ignore patterns", optarg);
                                 return (EX_USAGE);                                  return (1);
                         }                          }
                         break;                          break;
                 case 'k':                  case 'k':
Line 96 
Line 96 
                         }                          }
                         break;                          break;
                 default:                  default:
                         return (EX_USAGE);                          return (1);
                 }                  }
         }          }
   
Line 105 
Line 105 
         *arg = optind;          *arg = optind;
   
         if (argc > 4)          if (argc > 4)
                 return (EX_USAGE);                  return (1);
   
         module = argv[0];          module = argv[0];
         vendor = argv[1];          vendor = argv[1];

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9