changeset 30328:2d996af02fd8

util: use pycompat urlunquote function
author Augie Fackler <augie@google.com>
date Sun, 09 Oct 2016 09:03:10 -0400
parents e0d9b6aab4c5
children dadb00a0ec0f
files mercurial/util.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 = []