Submitter | phabricator |
---|---|
Date | April 1, 2020, 3:23 p.m. |
Message ID | <feea58b1164e558b2fa4897830459086@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/45968/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/url.py b/mercurial/url.py --- a/mercurial/url.py +++ b/mercurial/url.py @@ -674,7 +674,9 @@ url_, authinfo = u.authinfo() else: path = util.normpath(os.path.abspath(url_)) - url_ = b'file://' + pycompat.bytesurl(urlreq.pathname2url(path)) + url_ = b'file://' + pycompat.bytesurl( + urlreq.pathname2url(pycompat.fsdecode(path)) + ) authinfo = None return opener(ui, authinfo, sendaccept=sendaccept).open( pycompat.strurl(url_), data