/[cvs]/ccvs/src/checkout.c
ViewVC logotype

Diff of /ccvs/src/checkout.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.144 by scjones, Fri Sep 23 16:45:35 2005 UTC revision 1.145 by dprice, Wed Nov 23 01:29:08 2005 UTC
# Line 1090  internal error: %s doesn't start with %s Line 1090  internal error: %s doesn't start with %s
1090          goto out;          goto out;
1091      }      }
1092    
     if (!pipeout)  
     {  
         int i;  
         List *entries;  
   
         /* we are only doing files, so register them */  
         entries = Entries_Open (0, NULL);  
         for (i = 1; i < argc; i++)  
         {  
             char *line;  
             Vers_TS *vers;  
             struct file_info finfo;  
   
             memset (&finfo, 0, sizeof finfo);  
             finfo.file = argv[i];  
             /* Shouldn't be used, so set to arbitrary value.  */  
             finfo.update_dir = NULL;  
             finfo.fullname = argv[i];  
             finfo.repository = repository;  
             finfo.entries = entries;  
             /* The rcs slot is needed to get the options from the RCS  
                file */  
             finfo.rcs = RCS_parse (finfo.file, repository);  
   
             vers = Version_TS (&finfo, options, tag, date,  
                                force_tag_match, 0);  
             if (vers->ts_user == NULL)  
             {  
                 line = Xasprintf ("Initial %s", finfo.file);  
                 Register (entries, finfo.file,  
                           vers->vn_rcs ? vers->vn_rcs : "0",  
                           line, vers->options, vers->tag,  
                           vers->date, NULL);  
                 free (line);  
             }  
             freevers_ts (&vers);  
             freercsnode (&finfo.rcs);  
         }  
   
         Entries_Close (entries);  
     }  
   
1093      /* Don't log "export", just regular "checkouts" */      /* Don't log "export", just regular "checkouts" */
1094      if (m_type == CHECKOUT && !pipeout)      if (m_type == CHECKOUT && !pipeout)
1095          history_write ('O', preload_update_dir, history_name, where,          history_write ('O', preload_update_dir, history_name, where,

Legend:
Removed from v.1.144  
changed lines
  Added in v.1.145

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26