From patchwork Thu Jan 9 01:28:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7817: py3: byteify some `ui.configbool()` parameters From: phabricator X-Patchwork-Id: 44223 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Thu, 9 Jan 2020 01:28:42 +0000 mharbison72 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This popped up in 8042856c90b6 . REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D7817 AFFECTED FILES mercurial/localrepo.py CHANGE DETAILS To: mharbison72, #hg-reviewers Cc: mercurial-devel 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