# HG changeset patch # User Yuya Nishihara # Date 2017-09-03 08:51:23 # Node ID 30535fe47e78dc042d835cef96dc57d4af50ec99 # Parent f55769e41803ee222501e5caf1e31d65bc0c8cbe py3: fix repr(util.url) to return system string This is required on Python 3. diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -2804,6 +2804,7 @@ class url(object): if v is not None: setattr(self, a, urlreq.unquote(v)) + @encoding.strmethod def __repr__(self): attrs = [] for a in ('scheme', 'user', 'passwd', 'host', 'port', 'path',