From 6da9683ece4c6eec07652d4afed88707546412a3 Mon Sep 17 00:00:00 2001 From: Daniel Dourvaris Date: Tue, 12 May 2020 20:38:46 +0200 Subject: [PATCH] svn: fixed problem with special characters inside subdirectories. --- rhodecode/lib/vcs/backends/svn/commit.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rhodecode/lib/vcs/backends/svn/commit.py b/rhodecode/lib/vcs/backends/svn/commit.py index d1274cd3..1eec40c6 100644 --- a/rhodecode/lib/vcs/backends/svn/commit.py +++ b/rhodecode/lib/vcs/backends/svn/commit.py @@ -173,11 +173,10 @@ class SubversionCommit(base.BaseCommit): raise CommitError( "Directory does not exist for commit %s at " " '%s'" % (self.raw_id, path)) - path = self._fix_path(path) + path = safe_str(self._fix_path(path)) path_nodes = [] - for name, kind in self._remote.get_nodes( - safe_str(path), revision=self._svn_rev): + for name, kind in self._remote.get_nodes(path, revision=self._svn_rev): node_path = vcspath.join(path, name) if kind == 'dir': node = nodes.DirNode(node_path, commit=self)