# HG changeset patch # User Pierre-Yves David # Date 2017-03-02 12:30:28 # Node ID 7feab0e7702dd4a677f841aa16dbf2c871bc0fd8 # Parent 9b7a2ef4f27c2fe40fe4dda914443048e3474625 vfs: use 'vfs' module directly in 'mercurial.archival' 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/archival.py b/mercurial/archival.py --- a/mercurial/archival.py +++ b/mercurial/archival.py @@ -22,8 +22,8 @@ from . import ( encoding, error, match as matchmod, - scmutil, util, + vfs as vfsmod, ) stringio = util.stringio @@ -249,7 +249,7 @@ class fileit(object): def __init__(self, name, mtime): self.basedir = name - self.opener = scmutil.vfs(self.basedir) + self.opener = vfsmod.vfs(self.basedir) def addfile(self, name, mode, islink, data): if islink: