D2338: largefiles: make scheme regex a bytes regex
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sun Feb 18 21:06:20 EST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf3754b60f93d: largefiles: make scheme regex a bytes regex (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2338?vs=5895&id=5906
REVISION DETAIL
https://phab.mercurial-scm.org/D2338
AFFECTED FILES
hgext/largefiles/storefactory.py
CHANGE DETAILS
diff --git a/hgext/largefiles/storefactory.py b/hgext/largefiles/storefactory.py
--- a/hgext/largefiles/storefactory.py
+++ b/hgext/largefiles/storefactory.py
@@ -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))
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list