# HG changeset patch # User Pierre-Yves David # Date 1488457969 -3600 # Node ID 8d3e8c8c904941eda88c17ce94f38d12214c23cf # Parent 04b4286278ecfb3c826b5a413d1bd6c0fd3dbaa8 vfs: use 'vfs' module directly in 'contrib/undumprevlog' 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 -r 04b4286278ec -r 8d3e8c8c9049 contrib/undumprevlog --- a/contrib/undumprevlog Thu Mar 02 13:32:27 2017 +0100 +++ b/contrib/undumprevlog Thu Mar 02 13:32:49 2017 +0100 @@ -9,15 +9,15 @@ from mercurial import ( node, revlog, - scmutil, transaction, util, + vfs as vfsmod, ) for fp in (sys.stdin, sys.stdout, sys.stderr): util.setbinary(fp) -opener = scmutil.vfs('.', False) +opener = vfsmod.vfs('.', False) tr = transaction.transaction(sys.stderr.write, opener, {'store': opener}, "undump.journal") while True: