# HG changeset patch # User Augie Fackler # Date 2018-02-18 19:29:04 # Node ID 3ac8b5c1c36c8b35c62ea594abc216d8870d63f5 # Parent b9da10f310f476474c74ebc2e0e8791aa439142a largefiles: mark headre as bytes regex Differential Revision: https://phab.mercurial-scm.org/D2340 diff --git a/hgext/largefiles/proto.py b/hgext/largefiles/proto.py --- a/hgext/largefiles/proto.py +++ b/hgext/largefiles/proto.py @@ -180,7 +180,7 @@ def sshrepocallstream(self, cmd, **args) 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'):