aboutsummaryrefslogtreecommitdiffstats
path: root/src/svn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svn.cpp')
-rw-r--r--src/svn.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/svn.cpp b/src/svn.cpp
index f56d5ad..2dbe0b2 100644
--- a/src/svn.cpp
+++ b/src/svn.cpp
@@ -656,10 +656,7 @@ int SvnRevision::exportInternal(const char *key, const svn_fs_path_change_t *cha
if (path_from != NULL) {
previous = QString::fromUtf8(path_from);
- AprAutoPool revpool(pool.data());
- svn_boolean_t is_dir;
- SVN_ERR(svn_fs_is_dir(&is_dir, fs_root, path_from, revpool));
- if (is_dir) {
+ if (wasDir(fs, rev_from, path_from, pool.data())) {
previous += '/';
}
MatchRuleList::ConstIterator prevmatch =