diff mercurial/scmutil.py @ 19895:37c0d93fb166

bookmarks: use "vfs.unlink()" instead of "util.unlink()"
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
date Tue, 15 Oct 2013 00:51:04 +0900
parents 1d07bf106c2a
children af03279c766a
line wrap: on
line diff
--- a/mercurial/scmutil.py	Thu Oct 03 18:01:21 2013 +0200
+++ b/mercurial/scmutil.py	Tue Oct 15 00:51:04 2013 +0900
@@ -271,6 +271,9 @@
     def stat(self, path=None):
         return os.stat(self.join(path))
 
+    def unlink(self, path=None):
+        return util.unlink(self.join(path))
+
 class vfs(abstractvfs):
     '''Operate files relative to a base directory