Patchwork D2474: py3: use pycompat.strurl to convert url to str

login
register
mail settings
Submitter phabricator
Date Feb. 27, 2018, 12:57 p.m.
Message ID <5e5d12416a0feefe137e448854b0897b@localhost.localdomain>
Download mbox | patch
Permalink /patch/28453/
State Not Applicable
Headers show

Comments

phabricator - Feb. 27, 2018, 12:57 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG698fe0f6eb5c: py3: use pycompat.strurl to convert url to str (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2474?vs=6154&id=6169

REVISION DETAIL
  https://phab.mercurial-scm.org/D2474

AFFECTED FILES
  mercurial/url.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/url.py b/mercurial/url.py
--- a/mercurial/url.py
+++ b/mercurial/url.py
@@ -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)