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

Diff for /src/usr.bin/cvs/add.c between version 1.29 and 1.30

version 1.29, 2005/09/13 17:35:00 version 1.30, 2005/09/15 17:01:10
Line 254 
Line 254 
         /* Let's see if we have any per-directory tags first */          /* Let's see if we have any per-directory tags first */
         cvs_parse_tagfile(&tag, &date, &nb);          cvs_parse_tagfile(&tag, &date, &nb);
   
           /* XXX check for <dir>/CVS */
   
         l = snprintf(rcsdir, sizeof(rcsdir), "%s/%s",          l = snprintf(rcsdir, sizeof(rcsdir), "%s/%s",
             root->cr_dir, repo);              root->cr_dir, repo);
         if (l == -1 || l >= (int)sizeof(rcsdir)) {          if (l == -1 || l >= (int)sizeof(rcsdir)) {
Line 292 
Line 294 
   
         /* create CVS/ admin files */          /* create CVS/ admin files */
         if (cvs_noexec == 0)          if (cvs_noexec == 0)
                 if (cvs_mkadmin(fpath, root->cr_str, repo) == -1)                  if (cvs_mkadmin(fpath, root->cr_str, repo, tag, date, nb) == -1)
                         return (-1);                          return (-1);
   
         /* XXX Build the Entries line. */          /* XXX Build the Entries line. */

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