mercurial/patch.py
changeset 31630 451c980a8b57
parent 31274 a8023a64c40d
child 31631 a7acda2de4b8
--- a/mercurial/patch.py	Sun Mar 26 20:49:18 2017 +0530
+++ b/mercurial/patch.py	Sun Mar 26 20:54:50 2017 +0530
@@ -42,8 +42,8 @@
 )
 stringio = util.stringio
 
-gitre = re.compile('diff --git a/(.*) b/(.*)')
-tabsplitter = re.compile(r'(\t+|[^\t]+)')
+gitre = re.compile(br'diff --git a/(.*) b/(.*)')
+tabsplitter = re.compile(br'(\t+|[^\t]+)')
 
 class PatchError(Exception):
     pass