diff -r e0d9b6aab4c5 -r 2d996af02fd8 mercurial/util.py --- a/mercurial/util.py Sun Oct 09 09:02:25 2016 -0400 +++ b/mercurial/util.py Sun Oct 09 09:03:10 2016 -0400 @@ -2472,7 +2472,7 @@ 'path', 'fragment'): v = getattr(self, a) if v is not None: - setattr(self, a, pycompat.urlparse.unquote(v)) + setattr(self, a, pycompat.urlunquote(v)) def __repr__(self): attrs = []