diff -r fd2191d870ff -r a75cab94e936 mercurial/commands.py --- a/mercurial/commands.py Sat Feb 24 11:13:36 2018 -0800 +++ b/mercurial/commands.py Sat Feb 24 11:14:28 2018 -0800 @@ -860,7 +860,8 @@ transition = "bad" state[transition].append(node) ctx = repo[node] - ui.status(_('changeset %d:%s: %s\n') % (ctx, ctx, transition)) + ui.status(_('changeset %d:%s: %s\n') % (ctx.rev(), ctx, + transition)) hbisect.checkstate(state) # bisect nodes, changesets, bgood = hbisect.bisect(repo, state)