--- a/mercurial/branchmap.py Wed Jan 14 20:29:47 2015 -0800
+++ b/mercurial/branchmap.py Thu Jan 15 23:17:12 2015 +0100
@@ -21,7 +21,7 @@
def read(repo):
try:
- f = repo.opener(_filename(repo))
+ f = repo.vfs(_filename(repo))
lines = f.read().split('\n')
f.close()
except (IOError, OSError):
@@ -203,7 +203,7 @@
def write(self, repo):
try:
- f = repo.opener(_filename(repo), "w", atomictemp=True)
+ f = repo.vfs(_filename(repo), "w", atomictemp=True)
cachekey = [hex(self.tipnode), str(self.tiprev)]
if self.filteredhash is not None:
cachekey.append(hex(self.filteredhash))