--- 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: