mercurial/revlog.py
changeset 44047 de5d34ca01bd
parent 44034 ab595920de0e
child 44054 612225e994ff
equal deleted inserted replaced
44046:4322de8f7016 44047:de5d34ca01bd
   590             self._sparserevlog = False
   590             self._sparserevlog = False
   591 
   591 
   592         self._storedeltachains = True
   592         self._storedeltachains = True
   593 
   593 
   594         self._io = revlogio()
   594         self._io = revlogio()
   595         if rustrevlog is not None and self.opener.options.get('rust.index'):
   595         if rustrevlog is not None and self.opener.options.get(b'rust.index'):
   596             self._io = rustrevlogio()
   596             self._io = rustrevlogio()
   597         if self.version == REVLOGV0:
   597         if self.version == REVLOGV0:
   598             self._io = revlogoldio()
   598             self._io = revlogoldio()
   599         try:
   599         try:
   600             d = self._io.parseindex(indexdata, self._inline)
   600             d = self._io.parseindex(indexdata, self._inline)