##// END OF EJS Templates
vfs: use 'vfs' module directly in 'mercurial.statichttprepo'...
Pierre-Yves David -
r31241:591fda75 default
parent child Browse files
Show More
@@ -24,6 +24,7 b' from . import ('
24 store,
24 store,
25 url,
25 url,
26 util,
26 util,
27 vfs as vfsmod,
27 )
28 )
28
29
29 urlerr = util.urlerr
30 urlerr = util.urlerr
@@ -86,7 +87,7 b' def build_opener(ui, authinfo):'
86 urlopener = url.opener(ui, authinfo)
87 urlopener = url.opener(ui, authinfo)
87 urlopener.add_handler(byterange.HTTPRangeHandler())
88 urlopener.add_handler(byterange.HTTPRangeHandler())
88
89
89 class statichttpvfs(scmutil.abstractvfs):
90 class statichttpvfs(vfsmod.abstractvfs):
90 def __init__(self, base):
91 def __init__(self, base):
91 self.base = base
92 self.base = base
92
93
General Comments 0
You need to be logged in to leave comments. Login now