cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/src/checkout.c


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/checkout.c
Date: Tue, 22 Nov 2005 20:29:09 -0500

Index: ccvs/src/checkout.c
diff -u ccvs/src/checkout.c:1.144 ccvs/src/checkout.c:1.145
--- ccvs/src/checkout.c:1.144   Fri Sep 23 16:45:35 2005
+++ ccvs/src/checkout.c Wed Nov 23 01:29:08 2005
@@ -1090,48 +1090,6 @@
        goto out;
     }
 
-    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);
-    }
-
     /* Don't log "export", just regular "checkouts" */
     if (m_type == CHECKOUT && !pipeout)
        history_write ('O', preload_update_dir, history_name, where,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]