mercurial/context.py
changeset 36704 470df8c5b781
parent 36690 b529e640015d
child 36705 c6901665cd5b
--- a/mercurial/context.py	Sun Mar 04 05:53:59 2018 +0530
+++ b/mercurial/context.py	Sun Mar 04 22:40:08 2018 +0530
@@ -53,7 +53,7 @@
 
 propertycache = util.propertycache
 
-nonascii = re.compile(r'[^\x21-\x7f]').search
+nonascii = re.compile(br'[^\x21-\x7f]').search
 
 class basectx(object):
     """A basectx object represents the common logic for its children: