mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
svnwrap: escape copy sources paths in commit handler
This commit is contained in:
parent
469301fa64
commit
b0cb0173d2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user