# HG changeset patch # User Pierre-Yves David # Date 2017-03-02 12:31:23 # Node ID 816bc3b35bac7b34283f4f4f7a4d85b447e440ef # Parent 854f9188e3542772c05365412c345ba9734316c1 vfs: use 'vfs' module directly in 'hgext.mq' 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/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -94,6 +94,7 @@ from mercurial import ( smartset, subrepo, util, + vfs as vfsmod, ) release = lockmod.release @@ -434,7 +435,7 @@ class queue(object): except IOError: curpath = os.path.join(path, 'patches') self.path = patchdir or curpath - self.opener = scmutil.vfs(self.path) + self.opener = vfsmod.vfs(self.path) self.ui = ui self.baseui = baseui self.applieddirty = False