diff -r 17a86f650059 -r 2704dc40cf10 mercurial/debugcommands.py --- a/mercurial/debugcommands.py Fri Feb 03 01:05:41 2023 +0100 +++ b/mercurial/debugcommands.py Fri Feb 03 02:57:49 2023 +0100 @@ -1718,7 +1718,7 @@ if fm.isplain(): def formatvalue(value): - if util.safehasattr(value, b'startswith'): + if util.safehasattr(value, 'startswith'): return value if value: return b'yes'