]> andersk Git - svn-all-fast-export.git/commitdiff
Ignore any directories that didn't match any rules, including those with history
authorThiago Macieira <thiago@cassini.local.lan>
Mon, 24 Dec 2007 13:55:45 +0000 (11:55 -0200)
committerThiago Macieira <thiago@cassini.local.lan>
Mon, 24 Dec 2007 13:55:45 +0000 (11:55 -0200)
src/svn.cpp

index 6333877cc794134dcd8543f0f67296580d652ee2..8d5836b1c3e810930b4aff4e2b6b657b8e034076 100644 (file)
@@ -372,7 +372,9 @@ int SvnPrivate::exportRevision(int revnum)
         }
 
         if (!foundMatch) {
-            if (wasDir(fs, revnum - 1, key, pool)) {
+            if (is_dir) {
+                qDebug() << current << "is a directory; ignoring";
+            } else if (wasDir(fs, revnum - 1, key, pool)) {
                 qDebug() << current << "was a directory; ignoring";
             } else {
                 qCritical() << current << "did not match any rules; cannot continue";
This page took 0.051504 seconds and 5 git commands to generate.