Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 8805:2726a6df11e9
bisect: improve --command output
- Display tested revisions without --verbose
- Display revision number
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 13 Jun 2009 23:02:51 +0200 |
parents | ca14b3982ffe |
children | 14a0bdd59848 |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Jun 13 22:42:16 2009 +0200 +++ b/mercurial/commands.py Sat Jun 13 23:02:51 2009 +0200 @@ -357,9 +357,9 @@ raise util.Abort(_("%s killed") % command) else: transition = "bad" - node = repo.lookup(rev or '.') - state[transition].append(node) - ui.note(_('Changeset %s: %s\n') % (short(node), transition)) + ctx = repo[rev or '.'] + state[transition].append(ctx.node()) + ui.status(_('Changeset %d:%s: %s\n') % (ctx, ctx, transition)) check_state(state, interactive=False) # bisect nodes, changesets, good = hbisect.bisect(repo.changelog, state)