aboutsummaryrefslogtreecommitdiffstats
path: root/src/ruleparser.cpp
diff options
context:
space:
mode:
authorTorgny Nyblom <kde@nyblom.org>2010-08-09 14:24:37 +0200
committerTorgny Nyblom <kde@nyblom.org>2010-08-09 14:24:37 +0200
commitfcc4d75bd88a45c4cb0fa371e4292dfeea0a4944 (patch)
tree807b142860e98188aa4ce29189e11d87488f1e0b /src/ruleparser.cpp
parent2b7ce4a0bcca10bcc6cdfb2cb35685ccaa10afe3 (diff)
parent03e7d518f73053d56b240917f3b0a412d30d47db (diff)
downloadsvn2git-fcc4d75bd88a45c4cb0fa371e4292dfeea0a4944.tar
svn2git-fcc4d75bd88a45c4cb0fa371e4292dfeea0a4944.tar.gz
svn2git-fcc4d75bd88a45c4cb0fa371e4292dfeea0a4944.tar.bz2
svn2git-fcc4d75bd88a45c4cb0fa371e4292dfeea0a4944.tar.xz
svn2git-fcc4d75bd88a45c4cb0fa371e4292dfeea0a4944.zip
Merge commit 'refs/merge-requests/1' of git://gitorious.org/~marcguenther/svn2git/marcguenther-svn2git into integration
Diffstat (limited to 'src/ruleparser.cpp')
-rw-r--r--src/ruleparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruleparser.cpp b/src/ruleparser.cpp
index 905115c..9a83203 100644
--- a/src/ruleparser.cpp
+++ b/src/ruleparser.cpp
@@ -44,7 +44,7 @@ void Rules::load()
{
QFile file(filename);
if (!file.open(QIODevice::ReadOnly))
- return;
+ qFatal("Could not read the rules file: %s", qPrintable(filename));
// initialize the regexps we will use
QRegExp repoLine("create repository\\s+(\\S+)", Qt::CaseInsensitive);