aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNiko Sams <niko.sams@gmail.com>2010-09-24 21:44:29 +0200
committerNiko Sams <niko.sams@gmail.com>2010-09-24 21:56:17 +0200
commitf11207edc33ccaf91b28fb86b135fa42cd5cf46b (patch)
tree2e72d6748085de8bc20a0691f59770a18203ebd0 /src
parentb021b72ec4ca6de595294f7accbe954ee9fd9431 (diff)
downloadsvn2git-f11207edc33ccaf91b28fb86b135fa42cd5cf46b.tar
svn2git-f11207edc33ccaf91b28fb86b135fa42cd5cf46b.tar.gz
svn2git-f11207edc33ccaf91b28fb86b135fa42cd5cf46b.tar.bz2
svn2git-f11207edc33ccaf91b28fb86b135fa42cd5cf46b.tar.xz
svn2git-f11207edc33ccaf91b28fb86b135fa42cd5cf46b.zip
call startFastImport() in commit()
This fixes importing large svn commits that get imported into a large number of git repositories. It happened that a process was closed (in ProcessCache::touch) before commit() and so the commit wasn't imported correctly. And remove the touch() call as that is done now in startFastImport()
Diffstat (limited to 'src')
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index be0b0e2..d4cb2ad 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -815,7 +815,7 @@ QIODevice *FastImportRepository::Transaction::addFile(const QString &path, int m
void FastImportRepository::Transaction::commit()
{
- processCache.touch(repository);
+ repository->startFastImport();
// We might be tempted to use the SVN revision number as the fast-import commit mark.
// However, a single SVN revision can modify multple branches, and thus lead to multiple