largefiles: mark headre as bytes regex
Differential Revision: https://phab.mercurial-scm.org/D2340
--- 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'):