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

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Feb 27 07:57:20 EST 2018


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

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)



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


More information about the Mercurial-devel mailing list