util: use pycompat urlunquote function
authorAugie Fackler <augie@google.com>
Sun, 09 Oct 2016 09:03:10 -0400
changeset 30328 2d996af02fd8
parent 30327 e0d9b6aab4c5
child 30329 dadb00a0ec0f
util: use pycompat urlunquote function
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 = []