vcs-svn: use mark from previous import for parent commit

With this patch, overlapping incremental imports work.

Signed-off-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
This commit is contained in:
David Barr 2010-12-12 13:41:38 +11:00 committed by Jonathan Nieder
parent 1ae469b06c
commit dd3f42ad79

View File

@ -83,7 +83,7 @@ void fast_export_begin_commit(uint32_t revision, uint32_t author, char *log,
log, gitsvnline); log, gitsvnline);
if (!first_commit_done) { if (!first_commit_done) {
if (revision > 1) if (revision > 1)
printf("from refs/heads/master^0\n"); printf("from :%"PRIu32"\n", revision - 1);
first_commit_done = 1; first_commit_done = 1;
} }
} }