commands: use ctx.rev() instead of %d % ctx
Weaning off basectx.__int__.
Differential Revision: https://phab.mercurial-scm.org/D2429
--- 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)