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