mercurial/bookmarks.py
changeset 19895 37c0d93fb166
parent 19523 f37b5a17e6a0
child 19896 af03279c766a
--- 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: