Mercurial > hg
changeset 31249:e067741d4607
vfs: use 'vfs' module directly in 'test-lock'
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:33:02 +0100 |
parents | 8d3e8c8c9049 |
children | 6d44de27790c |
files | tests/test-lock.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-lock.py Thu Mar 02 13:32:49 2017 +0100 +++ b/tests/test-lock.py Thu Mar 02 13:33:02 2017 +0100 @@ -10,7 +10,7 @@ from mercurial import ( error, lock, - scmutil, + vfs as vfsmod, ) testlockname = 'testlock' @@ -36,7 +36,7 @@ self._acquirecalled = False self._releasecalled = False self._postreleasecalled = False - self.vfs = scmutil.vfs(dir, audit=False) + self.vfs = vfsmod.vfs(dir, audit=False) self._pidoffset = pidoffset def makelock(self, *args, **kwargs):