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

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Jan 9 09:57:31 EST 2020


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

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, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list