]> andersk Git - svn-all-fast-export.git/blobdiff - src/svn.cpp
Do not try to recurse into files when under a "recurse" action
[svn-all-fast-export.git] / src / svn.cpp
index 4062f31a3d7e097f28dbde523dd4bdc650f59cb0..b3b7d9b5c4d314ba52249bb2e6b61ee3efab7f7d 100644 (file)
@@ -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)
This page took 0.049261 seconds and 4 git commands to generate.