mercurial/fileset.py
changeset 26233 d3dbb65c8dc6
parent 26195 5a3338e0faf7
child 26587 56b2bcea2529
--- a/mercurial/fileset.py	Thu Sep 10 23:29:55 2015 +0900
+++ b/mercurial/fileset.py	Thu Sep 10 23:32:36 2015 +0900
@@ -54,7 +54,7 @@
                 c = program[pos]
                 decode = lambda x: x
             else:
-                decode = lambda x: x.decode('string-escape')
+                decode = parser.unescapestr
             pos += 1
             s = pos
             while pos < l: # find closing quote