[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.96 and 1.97

version 1.96, 2008/06/14 04:34:08 version 1.97, 2008/06/15 04:21:26
Line 324 
Line 324 
         if ((brev = rcsnum_brtorev(branch)) == NULL)          if ((brev = rcsnum_brtorev(branch)) == NULL)
                 fatal("import_new: failed to get first branch revision");                  fatal("import_new: failed to get first branch revision");
   
         cf->repo_fd = open(cf->file_rpath, O_CREAT|O_TRUNC|O_WRONLY);          cf->repo_fd = open(cf->file_rpath, O_CREAT | O_RDONLY);
         if (cf->repo_fd < 0)          if (cf->repo_fd < 0)
                 fatal("import_new: %s: %s", cf->file_rpath, strerror(errno));                  fatal("import_new: %s: %s", cf->file_rpath, strerror(errno));
   

Legend:
Removed from v.1.96  
changed lines
  Added in v.1.97