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 ea19be3..0c859c9 100644
--- a/src/svn.cpp
+++ b/src/svn.cpp
@@ -651,10 +651,7 @@ int SvnRevision::exportInternal(const char *key, const svn_fs_path_change_t *cha
} else if (!current.endsWith('/')) {
dumpBlob(txn, fs_root, key, path, pool);
} else {
- QString pathNoSlash = path;
- if(pathNoSlash.endsWith('/'))
- pathNoSlash.chop(1);
- txn->deleteFile(pathNoSlash);
+ txn->deleteFile(path);
recursiveDumpDir(txn, fs_root, key, path, pool);
}