aboutsummaryrefslogtreecommitdiffstats
path: root/src/svn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svn.cpp')
-rw-r--r--src/svn.cpp4
1 files changed, 3 insertions, 1 deletions
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";