git/list[1] front-page[2] threads[3] people[4] search[5] about
 

cvsimport/cvsps: incremental import

From
Gerrit Pape <pape@smarden.org>
Date
Jan 25, 2007, 14:09 UTC
Message-ID
<20070125140911.547.qmail@c78c9fae691bed.315fe32.mid.smarden.org>
Hi, with the current cvsps from
 http://ydirson.free.fr/soft/git/cvsps.git
incremental cvsimports fail with

$ git-cvsimport -C git file 'a/a; pre_rev:INITIAL; post_rev:1.1; dead:0; branch_point:0 ' not found in hash Already up-to-date. $

I think something like this should fix it:
diff --git a/cache.c b/cache.c
index b3b6c33..d1f9a31 100644
--- a/cache.c
+++ b/cache.c
@@ -380,6 +380,8 @@ void get_filename(char* filename, const char* data)
     };
     /* remainder: text after last protected char */
     strcpy (filename, data);
+    special = strchr(filename, ';');
+    if (special) *special = 0;
 }
 
 static void parse_cache_revision(PatchSetMember * psm, const char * buff)

Thanks, Gerrit.
Message 1 of 1 in “cvsimport/cvsps: incremental import”
  1. Gerrit PapeJan 25, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.