From: David Barr Date: Sun, 12 Dec 2010 02:41:38 +0000 (+1100) Subject: vcs-svn: use mark from previous import for parent commit X-Git-Tag: v1.7.12-rc0~41^2~13^2~5^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/dd3f42ad793b5334d506a451addcefd0054c27bb vcs-svn: use mark from previous import for parent commit With this patch, overlapping incremental imports work. Signed-off-by: David Barr Signed-off-by: Jonathan Nieder --- diff --git a/vcs-svn/fast_export.c b/vcs-svn/fast_export.c index 9c03f3e16d..f19db9ae82 100644 --- a/vcs-svn/fast_export.c +++ b/vcs-svn/fast_export.c @@ -83,7 +83,7 @@ void fast_export_begin_commit(uint32_t revision, uint32_t author, char *log, log, gitsvnline); if (!first_commit_done) { if (revision > 1) - printf("from refs/heads/master^0\n"); + printf("from :%"PRIu32"\n", revision - 1); first_commit_done = 1; } }