From f11207edc33ccaf91b28fb86b135fa42cd5cf46b Mon Sep 17 00:00:00 2001 From: Niko Sams Date: Fri, 24 Sep 2010 21:44:29 +0200 Subject: 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() --- src/repository.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.1