mercurial/simplemerge.py
changeset 31226 21fa3d3688f3
parent 30342 318a24b52eeb
child 31248 35284f933518
--- a/mercurial/simplemerge.py	Tue Mar 07 12:52:00 2017 -0800
+++ b/mercurial/simplemerge.py	Thu Mar 02 03:52:36 2017 +0100
@@ -437,7 +437,7 @@
 
     local = os.path.realpath(local)
     if not opts.get('print'):
-        opener = scmutil.opener(os.path.dirname(local))
+        opener = scmutil.vfs(os.path.dirname(local))
         out = opener(os.path.basename(local), "w", atomictemp=True)
     else:
         out = ui.fout