changeset 50595 | 1ea84989c389 |
parent 50594 | 8020be6a9d28 |
child 50648 | 88362b8bc476 |
--- a/mercurial/debugcommands.py Thu Feb 02 17:22:55 2023 +0100 +++ b/mercurial/debugcommands.py Thu Feb 02 17:23:03 2023 +0100 @@ -1943,7 +1943,7 @@ """show stats related to the changelog index""" repo.changelog.shortest(repo.nullid, 1) index = repo.changelog.index - if not util.safehasattr(index, b'stats'): + if not util.safehasattr(index, 'stats'): raise error.Abort(_(b'debugindexstats only works with native code')) for k, v in sorted(index.stats().items()): ui.write(b'%s: %d\n' % (k, v))