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

login
register
mail settings
Submitter phabricator
Date Jan. 9, 2020, 1:28 a.m.
Message ID <differential-rev-PHID-DREV-zlacvc47mir7in5l6h4y-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/44223/
State Superseded
Headers show

Comments

phabricator - Jan. 9, 2020, 1:28 a.m.
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




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

Patch

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