mercurial/branchmap.py
changeset 23877 7cc77030c557
parent 23863 669106fc5bb1
child 24052 32a64923d2b7
child 24159 5b4ed033390b
--- 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))