largefiles: mark headre as bytes regex
authorAugie Fackler <augie@google.com>
Sun, 18 Feb 2018 14:29:04 -0500
changeset 36312 3ac8b5c1c36c
parent 36311 b9da10f310f4
child 36313 3f98634b6572
largefiles: mark headre as bytes regex Differential Revision: https://phab.mercurial-scm.org/D2340
hgext/largefiles/proto.py
--- a/hgext/largefiles/proto.py	Sun Feb 18 14:28:31 2018 -0500
+++ b/hgext/largefiles/proto.py	Sun Feb 18 14:29:04 2018 -0500
@@ -180,7 +180,7 @@
         args[r'cmds'] = args[r'cmds'].replace('heads ', 'lheads ')
     return ssholdcallstream(self, cmd, **args)
 
-headsre = re.compile(r'(^|;)heads\b')
+headsre = re.compile(br'(^|;)heads\b')
 
 def httprepocallstream(self, cmd, **args):
     if cmd == 'heads' and self.capable('largefiles'):