aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThiago Macieira <thiago@cassini.local.lan>2007-12-24 11:55:45 -0200
committerThiago Macieira <thiago@cassini.local.lan>2007-12-24 11:55:45 -0200
commit266afd58cc06fcc9a529e7bb26d53c3728887432 (patch)
treeb4f1d6a31c1b387aa6ceb33c535b22e92ecca6c6 /src
parent1deb8ac509c147da57d35183b3fa06a9ad36f76a (diff)
downloadsvn2git-266afd58cc06fcc9a529e7bb26d53c3728887432.tar
svn2git-266afd58cc06fcc9a529e7bb26d53c3728887432.tar.gz
svn2git-266afd58cc06fcc9a529e7bb26d53c3728887432.tar.bz2
svn2git-266afd58cc06fcc9a529e7bb26d53c3728887432.tar.xz
svn2git-266afd58cc06fcc9a529e7bb26d53c3728887432.zip
Ignore any directories that didn't match any rules, including those with history
Diffstat (limited to 'src')
-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";