Mercurial > public > mercurial-scm > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
44042:2abffea40700 | 44043:b958419b6c53 |
---|---|
925 raise error.Abort(msg % options[b'zstd.level']) | 925 raise error.Abort(msg % options[b'zstd.level']) |
926 | 926 |
927 if repository.NARROW_REQUIREMENT in requirements: | 927 if repository.NARROW_REQUIREMENT in requirements: |
928 options[b'enableellipsis'] = True | 928 options[b'enableellipsis'] = True |
929 | 929 |
930 if ui.configbool('experimental', 'rust.index'): | 930 if ui.configbool(b'experimental', b'rust.index'): |
931 options[b'rust.index'] = True | 931 options[b'rust.index'] = True |
932 | 932 |
933 return options | 933 return options |
934 | 934 |
935 | 935 |