mercurial/manifest.py
changeset 24956 48583a1e44f3
parent 24925 d9832a12a06e
child 25091 b5052fc73300
equal deleted inserted replaced
24955:1df233bcb7f6 24956:48583a1e44f3
   758         usetreemanifest = False
   758         usetreemanifest = False
   759         usemanifestv2 = False
   759         usemanifestv2 = False
   760         opts = getattr(opener, 'options', None)
   760         opts = getattr(opener, 'options', None)
   761         if opts is not None:
   761         if opts is not None:
   762             cachesize = opts.get('manifestcachesize', cachesize)
   762             cachesize = opts.get('manifestcachesize', cachesize)
   763             usetreemanifest = opts.get('usetreemanifest', usetreemanifest)
   763             usetreemanifest = opts.get('treemanifest', usetreemanifest)
   764             usemanifestv2 = opts.get('manifestv2', usemanifestv2)
   764             usemanifestv2 = opts.get('manifestv2', usemanifestv2)
   765         self._mancache = util.lrucachedict(cachesize)
   765         self._mancache = util.lrucachedict(cachesize)
   766         revlog.revlog.__init__(self, opener, "00manifest.i")
   766         revlog.revlog.__init__(self, opener, "00manifest.i")
   767         self._treeinmem = usetreemanifest
   767         self._treeinmem = usetreemanifest
   768         self._treeondisk = usetreemanifest
   768         self._treeondisk = usetreemanifest