Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 44043: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 | 3216cabffd4a |
children | b74270da5eee |
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