Mercurial > hg > mercurial-source
diff mercurial/archival.py @ 32014:7feab0e7702d
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.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 02 Mar 2017 13:30:28 +0100 (2017-03-02) |
parents | 21fa3d3688f3 |
children | 3047167733dc |
line wrap: on
line diff
--- a/mercurial/archival.py +++ b/mercurial/archival.py @@ -22,8 +22,8 @@ encoding, error, match as matchmod, - scmutil, util, + vfs as vfsmod, ) stringio = util.stringio @@ -249,7 +249,7 @@ 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: