diff mercurial/context.py @ 31318:8908f985570c

vfs: use repo.wvfs.unlinkpath
author Mads Kiilerich <madski@unity3d.com>
date Wed, 14 Jan 2015 01:15:26 +0100
parents bd884ef2ee46
children ff2f90503d64
line wrap: on
line diff
--- a/mercurial/context.py	Wed Mar 08 18:11:41 2017 -0500
+++ b/mercurial/context.py	Wed Jan 14 01:15:26 2015 +0100
@@ -1770,7 +1770,7 @@
 
     def remove(self, ignoremissing=False):
         """wraps unlink for a repo's working directory"""
-        util.unlinkpath(self._repo.wjoin(self._path), ignoremissing)
+        self._repo.wvfs.unlinkpath(self._path, ignoremissing=ignoremissing)
 
     def write(self, data, flags):
         """wraps repo.wwrite"""