##// END OF EJS Templates
revlog: reorder a conditionnal about revlogio...
marmoute -
r44506:612225e9 default
parent child Browse files
Show More
@@ -592,10 +592,10 b' class revlog(object):'
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(b'rust.index'):
596 self._io = rustrevlogio()
597 if self.version == REVLOGV0:
595 if self.version == REVLOGV0:
598 self._io = revlogoldio()
596 self._io = revlogoldio()
597 elif rustrevlog is not None and self.opener.options.get(b'rust.index'):
598 self._io = rustrevlogio()
599 try:
599 try:
600 d = self._io.parseindex(indexdata, self._inline)
600 d = self._io.parseindex(indexdata, self._inline)
601 except (ValueError, IndexError):
601 except (ValueError, IndexError):
General Comments 0
You need to be logged in to leave comments. Login now