From 266afd58cc06fcc9a529e7bb26d53c3728887432 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 24 Dec 2007 11:55:45 -0200 Subject: [PATCH] Ignore any directories that didn't match any rules, including those with history --- src/svn.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; -- 2.45.0