mercurial/manifest.py
branchstable
changeset 30219 3c8811efdddc
parent 30209 9d06b65c5df2
child 30220 acc8885a6450
equal deleted inserted replaced
30218:1767723f71cf 30219:3c8811efdddc
  1252         opts = getattr(opener, 'options', None)
  1252         opts = getattr(opener, 'options', None)
  1253         if opts is not None:
  1253         if opts is not None:
  1254             usetreemanifest = opts.get('treemanifest', usetreemanifest)
  1254             usetreemanifest = opts.get('treemanifest', usetreemanifest)
  1255         self._treeinmem = usetreemanifest
  1255         self._treeinmem = usetreemanifest
  1256 
  1256 
       
  1257         self._oldmanifest = repo._constructmanifest()
       
  1258         self._revlog = self._oldmanifest
       
  1259 
  1257         # We'll separate this into it's own cache once oldmanifest is no longer
  1260         # We'll separate this into it's own cache once oldmanifest is no longer
  1258         # used
  1261         # used
  1259         self._mancache = repo.manifest._mancache
  1262         self._mancache = self._oldmanifest._mancache
  1260 
       
  1261     @property
       
  1262     def _revlog(self):
       
  1263         return self._repo.manifest
       
  1264 
  1263 
  1265     def __getitem__(self, node):
  1264     def __getitem__(self, node):
  1266         """Retrieves the manifest instance for the given node. Throws a KeyError
  1265         """Retrieves the manifest instance for the given node. Throws a KeyError
  1267         if not found.
  1266         if not found.
  1268         """
  1267         """