# HG changeset patch # User Marcin Kuzminski # Date 2017-07-17 12:19:22 # Node ID f9d0753311b00d5cf6d268c336024e2996538fab # Parent 2c37cda736bda8aa4aa24559840450be14ac879f svn: don't raise duplicate exception. The function already does that. diff --git a/rhodecode/lib/vcs/backends/svn/commit.py b/rhodecode/lib/vcs/backends/svn/commit.py --- a/rhodecode/lib/vcs/backends/svn/commit.py +++ b/rhodecode/lib/vcs/backends/svn/commit.py @@ -154,7 +154,7 @@ class SubversionCommit(base.BaseCommit): elif node_type == 'file': node = nodes.FileNode(path, commit=self, pre_load=pre_load) else: - raise NodeDoesNotExistError(self.no_node_at_path(path)) + raise self.no_node_at_path(path) self.nodes[path] = node return self.nodes[path]