svnwrap: escape copy sources paths in commit handler

This commit is contained in:
Patrick Mezard 2010-01-25 13:51:22 +01:00
parent 469301fa64
commit b0cb0173d2

View File

@ -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)