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

login
register
mail settings
Submitter phabricator
Date Jan. 9, 2020, 2:57 p.m.
Message ID <dac062595e4b011023ddff84a65b42db@localhost.localdomain>
Download mbox | patch
Permalink /patch/44233/
State Not Applicable
Headers show

Comments

phabricator - Jan. 9, 2020, 2:57 p.m.
Closed by commit rHGb958419b6c53: py3: byteify some `ui.configbool()` parameters (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7817?vs=19118&id=19127

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7817/new/

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

AFFECTED FILES
  mercurial/localrepo.py

CHANGE DETAILS




To: mharbison72, #hg-reviewers, pulkit
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