mercurial/revset.py
changeset 26232 43f9976346e9
parent 26212 0d8df1f510c6
child 26303 c99b4d6efdd8
--- a/mercurial/revset.py	Thu Sep 10 23:25:10 2015 +0900
+++ b/mercurial/revset.py	Thu Sep 10 23:29:55 2015 +0900
@@ -244,7 +244,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