aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiko Sams <niko.sams@gmail.com>2010-09-24 21:13:44 +0200
committerNiko Sams <niko.sams@gmail.com>2010-09-24 21:56:15 +0200
commitf0ac33760478522817bd4b6bb15a4c89c9ac6674 (patch)
treebf6a76f9a77780a56b76162609f3ad11e49a1ac2
parentcdedb4a5ce81f717351baef9195894ef7b1b0a84 (diff)
downloadsvn2git-f0ac33760478522817bd4b6bb15a4c89c9ac6674.tar
svn2git-f0ac33760478522817bd4b6bb15a4c89c9ac6674.tar.gz
svn2git-f0ac33760478522817bd4b6bb15a4c89c9ac6674.tar.bz2
svn2git-f0ac33760478522817bd4b6bb15a4c89c9ac6674.tar.xz
svn2git-f0ac33760478522817bd4b6bb15a4c89c9ac6674.zip
output repository name that crashed, helpful to know which logs to look at
-rw-r--r--src/repository.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.cpp b/src/repository.cpp
index a19b794..4bfba6e 100644
--- a/src/repository.cpp
+++ b/src/repository.cpp
@@ -895,5 +895,5 @@ void FastImportRepository::Transaction::commit()
while (repository->fastImport.bytesToWrite())
if (!repository->fastImport.waitForBytesWritten(-1))
- qFatal("Failed to write to process: %s", qPrintable(repository->fastImport.errorString()));
+ qFatal("Failed to write to process: %s for repository %s", qPrintable(repository->fastImport.errorString()), qPrintable(repository->name));
}