changeset 36343:ea62c2df882d

largefiles: make scheme regex a bytes regex # skip-blame just a b prefix Differential Revision: https://phab.mercurial-scm.org/D2338
author Augie Fackler <augie@google.com>
date Sun, 18 Feb 2018 14:25:03 -0500
parents 94a1ff16f362
children b9da10f310f4
files hgext/largefiles/storefactory.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/largefiles/storefactory.py	Sat Feb 17 13:13:04 2018 +0900
+++ b/hgext/largefiles/storefactory.py	Sun Feb 18 14:25:03 2018 -0500
@@ -80,7 +80,7 @@
     'ssh': [wirestore.wirestore],
     }
 
-_scheme_re = re.compile(r'^([a-zA-Z0-9+-.]+)://')
+_scheme_re = re.compile(br'^([a-zA-Z0-9+-.]+)://')
 
 def getlfile(ui, hash):
     return util.chunkbuffer(openstore(ui=ui)._get(hash))