summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar David Barr <david.barr@cordelta.com>2010-12-12 13:41:38 +1100
committerLibravatar Jonathan Nieder <jrnieder@gmail.com>2011-03-07 01:43:58 -0600
commitdd3f42ad793b5334d506a451addcefd0054c27bb (patch)
tree4acea098f1770a26dba416e0fa922377a1d8a36e
parentvcs-svn: handle filenames with dq correctly (diff)
downloadtgif-dd3f42ad793b5334d506a451addcefd0054c27bb.tar.xz
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>
-rw-r--r--vcs-svn/fast_export.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}