mercurial/merge.py
changeset 31323 102d3a30582c
parent 31310 431d4f73249e
child 31379 b6a6df38a802
--- a/mercurial/merge.py	Wed Mar 08 16:53:24 2017 -0800
+++ b/mercurial/merge.py	Wed Mar 08 16:53:32 2017 -0800
@@ -124,7 +124,7 @@
             self._mdstate = 's'
         else:
             self._mdstate = 'u'
-        shutil.rmtree(self._repo.join('merge'), True)
+        shutil.rmtree(self._repo.vfs.join('merge'), True)
         self._results = {}
         self._dirty = False
 
@@ -1678,7 +1678,7 @@
             repo.setparents(fp1, fp2)
             recordupdates(repo, actions, branchmerge)
             # update completed, clear state
-            util.unlink(repo.join('updatestate'))
+            util.unlink(repo.vfs.join('updatestate'))
 
             if not branchmerge:
                 repo.dirstate.setbranch(p2.branch())