# HG changeset patch # User Pierre-Yves David # Date 1488457858 -3600 # Node ID 35284f9335184d8455ca4a53b1dca521824c51e8 # Parent 1b08aca7870af252232694e30ccb8f8bbb7f7ded vfs: use 'vfs' module directly in 'mercurial.simplemerge' 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 1b08aca7870a -r 35284f933518 mercurial/simplemerge.py --- a/mercurial/simplemerge.py Thu Mar 02 13:30:47 2017 +0100 +++ b/mercurial/simplemerge.py Thu Mar 02 13:30:58 2017 +0100 @@ -24,8 +24,8 @@ from . import ( error, mdiff, - scmutil, util, + vfs as vfsmod, ) class CantReprocessAndShowBase(Exception): @@ -437,7 +437,7 @@ local = os.path.realpath(local) if not opts.get('print'): - opener = scmutil.vfs(os.path.dirname(local)) + opener = vfsmod.vfs(os.path.dirname(local)) out = opener(os.path.basename(local), "w", atomictemp=True) else: out = ui.fout