]> andersk Git - svn-all-fast-export.git/blobdiff - src/svn.cpp
Add some more line number information
[svn-all-fast-export.git] / src / svn.cpp
index 8d5836b1c3e810930b4aff4e2b6b657b8e034076..d294f541feb72f1957d28f99558fdd97c80be02f 100644 (file)
@@ -323,9 +323,12 @@ int SvnPrivate::exportRevision(int revnum)
                 continue;
             if (rule.rx.exactMatch(current)) {
                 foundMatch = true;
-                if (rule.repository.isEmpty())
+                if (rule.repository.isEmpty()) {
                     // ignore rule
+                    qDebug() << "..." << qPrintable(current) << "rev" << revnum
+                             << "-> ignored";
                     break;
+                }
 
                 QString repository = current;
                 QString branch = current;
@@ -343,7 +346,7 @@ int SvnPrivate::exportRevision(int revnum)
                 if (!txn) {
                     Repository *repo = repositories.value(repository, 0);
                     if (!repo) {
-                        qCritical() << "Rule" << rule.rx.pattern()
+                        qCritical() << "Rule" << rule.rx.pattern() << "line" << rule.lineNumber
                                     << "references unknown repository" << repository;
                         return EXIT_FAILURE;
                     }
This page took 0.027499 seconds and 4 git commands to generate.