From d6da65ded6cab37ef5630b978a6438951ee1e150 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 18 Aug 2008 16:47:19 +0200 Subject: [PATCH] Do not try to recurse into files when under a "recurse" action --- src/svn.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(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) -- 2.45.1