Patchwork D2340: largefiles: mark headre as bytes regex

login
register
mail settings
Submitter phabricator
Date Feb. 19, 2018, 2:06 a.m.
Message ID <0b93dca8f8c35a9c8497c543a87d1d6a@localhost.localdomain>
Download mbox | patch
Permalink /patch/28137/
State Not Applicable
Headers show

Comments

phabricator - Feb. 19, 2018, 2:06 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG9d16c0789dfb: largefiles: mark headre as bytes regex (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2340?vs=5897&id=5908

REVISION DETAIL
  https://phab.mercurial-scm.org/D2340

AFFECTED FILES
  hgext/largefiles/proto.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel

Patch

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 @@ 
         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'):