diff mercurial/bookmarks.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 f37b5a17e6a0
children af03279c766a
line wrap: on
line diff
--- a/mercurial/bookmarks.py	Thu Oct 03 18:01:21 2013 +0200
+++ b/mercurial/bookmarks.py	Tue Oct 15 00:51:04 2013 +0900
@@ -126,7 +126,7 @@
     wlock = repo.wlock()
     try:
         try:
-            util.unlink(repo.join('bookmarks.current'))
+            repo.vfs.unlink('bookmarks.current')
             repo._bookmarkcurrent = None
         except OSError, inst:
             if inst.errno != errno.ENOENT: