summaryrefslogtreecommitdiff
path: root/vcs-svn
diff options
context:
space:
mode:
authorDavid Barr <david.barr@cordelta.com>2010-12-12 02:41:38 (GMT)
committerJonathan Nieder <jrnieder@gmail.com>2011-03-07 07:43:58 (GMT)
commitdd3f42ad793b5334d506a451addcefd0054c27bb (patch)
tree4acea098f1770a26dba416e0fa922377a1d8a36e /vcs-svn
parent1ae469b06c50aade4781931ca1587453082f57eb (diff)
downloadgit-dd3f42ad793b5334d506a451addcefd0054c27bb.zip
git-dd3f42ad793b5334d506a451addcefd0054c27bb.tar.gz
git-dd3f42ad793b5334d506a451addcefd0054c27bb.tar.bz2
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')
-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 9c03f3e..f19db9a 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;
}
}