From: Thiago Macieira Date: Mon, 18 Aug 2008 14:47:19 +0000 (+0200) Subject: Do not try to recurse into files when under a "recurse" action X-Git-Url: http://andersk.mit.edu/gitweb/svn-all-fast-export.git/commitdiff_plain/d6da65ded6cab37ef5630b978a6438951ee1e150?ds=sidebyside Do not try to recurse into files when under a "recurse" action --- 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)