py3: byteify some `ui.configbool()` parameters
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 08 Jan 2020 20:23:24 -0500
changeset 44043 b958419b6c53
parent 44042 2abffea40700
child 44044 f3ad014b6a53
py3: byteify some `ui.configbool()` parameters This popped up in 8042856c90b6. Differential Revision: https://phab.mercurial-scm.org/D7817
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Mon Dec 23 17:47:31 2019 +0100
+++ b/mercurial/localrepo.py	Wed Jan 08 20:23:24 2020 -0500
@@ -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