mercurial/bookmarks.py
changeset 23877 7cc77030c557
parent 23469 65e48b8d20f5
child 24180 d8e0c591781c
--- a/mercurial/bookmarks.py	Wed Jan 14 20:29:47 2015 -0800
+++ b/mercurial/bookmarks.py	Thu Jan 15 23:17:12 2015 +0100
@@ -115,7 +115,7 @@
     '''
     mark = None
     try:
-        file = repo.opener('bookmarks.current')
+        file = repo.vfs('bookmarks.current')
     except IOError, inst:
         if inst.errno != errno.ENOENT:
             raise
@@ -144,7 +144,7 @@
 
     wlock = repo.wlock()
     try:
-        file = repo.opener('bookmarks.current', 'w', atomictemp=True)
+        file = repo.vfs('bookmarks.current', 'w', atomictemp=True)
         file.write(encoding.fromlocal(mark))
         file.close()
     finally: