changeset 36345:3ac8b5c1c36c

largefiles: mark headre as bytes regex Differential Revision: https://phab.mercurial-scm.org/D2340
author Augie Fackler <augie@google.com>
date Sun, 18 Feb 2018 14:29:04 -0500
parents b9da10f310f4
children 3f98634b6572
files hgext/largefiles/proto.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'):