diff -r cdfba684b6a1 -r 53229e170496 mercurial/shelve.py --- a/mercurial/shelve.py Fri Aug 12 14:35:34 2022 -0700 +++ b/mercurial/shelve.py Mon Aug 22 16:59:14 2022 -0400 @@ -102,7 +102,7 @@ def _use_internal_phase(repo): return ( phases.supportinternal(repo) - and repo.ui.config(b'shelve', b'store') == 'internal' + and repo.ui.config(b'shelve', b'store') == b'internal' )