D2340: largefiles: mark headre as bytes regex

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Feb 18 21:06:25 EST 2018


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

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



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


More information about the Mercurial-devel mailing list