# HG changeset patch # User Pierre-Yves David # Date 2017-03-02 13:49:01 # Node ID 591fda751c6bd7c73ae4e5f1ffcb3fcfd5f70dca # Parent 5f68e7341adaa96768d1e681c6cfff25459e4b94 vfs: use 'vfs' module directly in 'mercurial.statichttprepo' Now that the 'vfs' classes moved in their own module, lets use the new module directly. We update code iteratively to help with possible bisect needs in the future. diff --git a/mercurial/statichttprepo.py b/mercurial/statichttprepo.py --- a/mercurial/statichttprepo.py +++ b/mercurial/statichttprepo.py @@ -24,6 +24,7 @@ from . import ( store, url, util, + vfs as vfsmod, ) urlerr = util.urlerr @@ -86,7 +87,7 @@ def build_opener(ui, authinfo): urlopener = url.opener(ui, authinfo) urlopener.add_handler(byterange.HTTPRangeHandler()) - class statichttpvfs(scmutil.abstractvfs): + class statichttpvfs(vfsmod.abstractvfs): def __init__(self, base): self.base = base