D7817: py3: byteify some `ui.configbool()` parameters

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Jan 9 01:28:42 UTC 2020


mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This popped up in 8042856c90b6 <https://phab.mercurial-scm.org/rHG8042856c90b6ab07437c7ddd6dd9f6d18d37d3d7>.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D7817

AFFECTED FILES
  mercurial/localrepo.py

CHANGE DETAILS

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -927,7 +927,7 @@
     if repository.NARROW_REQUIREMENT in requirements:
         options[b'enableellipsis'] = True
 
-    if ui.configbool('experimental', 'rust.index'):
+    if ui.configbool(b'experimental', b'rust.index'):
         options[b'rust.index'] = True
 
     return options



To: mharbison72, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list