# HG changeset patch # User Patrick Mezard # Date 1264423882 -3600 # Node ID 809c673bdd30507a3e40b153105de83b913e21aa # Parent 2f5c7cef1723495efcb322117dedd3a5c7425d78 svnwrap: escape copy sources paths in commit handler diff --git a/hgsubversion/svnwrap/svn_swig_wrapper.py b/hgsubversion/svnwrap/svn_swig_wrapper.py --- a/hgsubversion/svnwrap/svn_swig_wrapper.py +++ b/hgsubversion/svnwrap/svn_swig_wrapper.py @@ -460,7 +460,7 @@ class SubversionRepo(object): elif action == 'add': frompath, fromrev = copies.get(path, (None, -1)) if frompath: - frompath = self.svn_url + '/' + frompath + frompath = self.path2url(frompath) baton = editor.add_file(path, parent, frompath, fromrev, pool) elif action == 'delete': baton = editor.delete_entry(path, base_revision, parent, pool)