{"thread":{"id":"6520","subject":"cvsimport/cvsps: incremental import","startedAt":"2007-01-25T14:09:10Z","lastAt":"2007-01-25T14:09:10Z","messageCount":1,"participants":["Gerrit Pape"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"32604","messageId":"20070125140911.547.qmail@c78c9fae691bed.315fe32.mid.smarden.org","threadId":"6520","inReplyTo":null,"subject":"cvsimport/cvsps: incremental import","fromName":"Gerrit Pape","fromEmail":"pape@smarden.org","sentAt":"2007-01-25T14:09:10Z","receivedAt":"2007-01-25T14:09:10Z","isPatch":false,"sender":{"key":"pape@smarden.org","avatar":"https://avatars.githubusercontent.com/u/143170252?v=4"},"body":"Hi, with the current cvsps from\n http://ydirson.free.fr/soft/git/cvsps.git\nincremental cvsimports fail with\n\n$ git-cvsimport -C git\nfile 'a/a; pre_rev:INITIAL; post_rev:1.1; dead:0; branch_point:0\n' not found in hash\nAlready up-to-date.\n$ \n\nI think something like this should fix it:\n\ndiff --git a/cache.c b/cache.c\nindex b3b6c33..d1f9a31 100644\n--- a/cache.c\n+++ b/cache.c\n@@ -380,6 +380,8 @@ void get_filename(char* filename, const char* data)\n     };\n     /* remainder: text after last protected char */\n     strcpy (filename, data);\n+    special = strchr(filename, ';');\n+    if (special) *special = 0;\n }\n \n static void parse_cache_revision(PatchSetMember * psm, const char * buff)\n\nThanks, Gerrit.\n"}]}