--- a/mercurial/obsolete.py Thu Jun 25 22:18:56 2015 -0700
+++ b/mercurial/obsolete.py Thu Jun 25 22:19:49 2015 -0700
@@ -517,12 +517,12 @@
# parents: (tuple of nodeid) or None, parents of precursors
# None is used when no data has been recorded
- def __init__(self, sopener, defaultformat=_fm1version, readonly=False):
+ def __init__(self, svfs, defaultformat=_fm1version, readonly=False):
# caches for various obsolescence related cache
self.caches = {}
self._all = []
- self.sopener = sopener
- data = sopener.tryread('obsstore')
+ self.svfs = svfs
+ data = svfs.tryread('obsstore')
self._version = defaultformat
self._readonly = readonly
if data:
@@ -588,7 +588,7 @@
known.add(m)
new.append(m)
if new:
- f = self.sopener('obsstore', 'ab')
+ f = self.svfs('obsstore', 'ab')
try:
offset = f.tell()
transaction.add('obsstore', offset)