Skip to content
Snippets Groups Projects
Commit 698fe0f6 authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use pycompat.strurl to convert url to str

Differential Revision: https://phab.mercurial-scm.org/D2474
parent bfb4494f
Branches
Tags
No related merge requests found
......@@ -528,4 +528,4 @@
path = util.normpath(os.path.abspath(url_))
url_ = 'file://' + urlreq.pathname2url(path)
authinfo = None
return opener(ui, authinfo).open(url_, data)
return opener(ui, authinfo).open(pycompat.strurl(url_), data)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment