D7818: py3: byteify the opener option to use `rust.index` to allow Rust revlogs
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Thu Jan 9 13:13:06 EST 2020
Closed by commit rHGde5d34ca01bd: py3: byteify the opener option to use `rust.index` to allow Rust revlogs (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7818?vs=19131&id=19132
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7818/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7818
AFFECTED FILES
mercurial/revlog.py
CHANGE DETAILS
diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -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()
To: mharbison72, indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list