changeset 44044:b958419b6c53

py3: byteify some `ui.configbool()` parameters This popped up in 8042856c90b6. Differential Revision: https://phab.mercurial-scm.org/D7817
author Matt Harbison <matt_harbison@yahoo.com>
date Wed, 08 Jan 2020 20:23:24 -0500
parents 2abffea40700
children f3ad014b6a53
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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