Mercurial > hg
diff hgext/largefiles/storefactory.py @ 36310: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 | cf841f2b5a72 |
children | 876494fd967d |
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))