py3: byteify the opener option to use `rust.index` to allow Rust revlogs
It looks like this corresponds to the byteified key written in localrepo in
8042856c90b6.
Differential Revision: https://phab.mercurial-scm.org/D7818
--- a/mercurial/revlog.py Fri Dec 27 21:11:36 2019 -0800
+++ b/mercurial/revlog.py Thu Jan 09 10:17:10 2020 -0500
@@ -592,7 +592,7 @@
self._storedeltachains = True
self._io = revlogio()
- if rustrevlog is not None and self.opener.options.get('rust.index'):
+ if rustrevlog is not None and self.opener.options.get(b'rust.index'):
self._io = rustrevlogio()
if self.version == REVLOGV0:
self._io = revlogoldio()