aboutsummaryrefslogtreecommitdiffstats
path: root/src/svn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svn.cpp')
-rw-r--r--src/svn.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/svn.cpp b/src/svn.cpp
index 4062f31..b3b7d9b 100644
--- a/src/svn.cpp
+++ b/src/svn.cpp
@@ -631,6 +631,9 @@ int SvnRevision::recurse(const char *path, const svn_fs_path_change_t *change,
apr_hash_this(i, &vkey, NULL, &value);
svn_fs_dirent_t *dirent = reinterpret_cast<svn_fs_dirent_t *>(value);
+ if (dirent->kind != svn_node_dir)
+ continue; // not a directory, so can't recurse; skip
+
QByteArray entry = path + QByteArray("/") + dirent->name;
QByteArray entryFrom;
if (path_from)