cvsimport/cvsps: incremental import

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

 



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.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]