aboutsummaryrefslogtreecommitdiff
path: root/vcs-svn/fast_export.c
diff options
context:
space:
mode:
authorDavid Barr <david.barr@cordelta.com>2010-12-12 13:41:38 +1100
committerJonathan Nieder <jrnieder@gmail.com>2011-03-07 01:43:58 -0600
commitdd3f42ad793b5334d506a451addcefd0054c27bb (patch)
tree4acea098f1770a26dba416e0fa922377a1d8a36e /vcs-svn/fast_export.c
parent1ae469b06c50aade4781931ca1587453082f57eb (diff)
downloadgit-dd3f42ad793b5334d506a451addcefd0054c27bb.tar.gz
git-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>
Diffstat (limited to 'vcs-svn/fast_export.c')
-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 9c03f3e16..f19db9ae8 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;
}
}