From: Thiago Macieira Date: Mon, 24 Dec 2007 13:55:45 +0000 (-0200) Subject: Ignore any directories that didn't match any rules, including those with history X-Git-Url: http://andersk.mit.edu/gitweb/svn-all-fast-export.git/commitdiff_plain/266afd58cc06fcc9a529e7bb26d53c3728887432 Ignore any directories that didn't match any rules, including those with history --- diff --git a/src/svn.cpp b/src/svn.cpp index 6333877..8d5836b 100644 --- a/src/svn.cpp +++ b/src/svn.cpp @@ -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";