diff options
author | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-24 11:55:45 -0200 |
---|---|---|
committer | Thiago Macieira <thiago@cassini.local.lan> | 2007-12-24 11:55:45 -0200 |
commit | 266afd58cc06fcc9a529e7bb26d53c3728887432 (patch) | |
tree | b4f1d6a31c1b387aa6ceb33c535b22e92ecca6c6 /src | |
parent | 1deb8ac509c147da57d35183b3fa06a9ad36f76a (diff) | |
download | svn2git-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.cpp | 4 |
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"; |