Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 14055:421d56a055fd
drop {short,hex}(ctx.node()) calls in favor of ctx methods
author | Alexander Solovyov <alexander@solovyov.net> |
---|---|
date | Sat, 30 Apr 2011 12:55:07 +0200 |
parents | 58e58406ed19 |
children | e4bfb9c337f3 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Apr 29 22:21:13 2011 +0300 +++ b/mercurial/commands.py Sat Apr 30 12:55:07 2011 +0200 @@ -351,13 +351,12 @@ else: ui.write(_("The first bad revision is:\n")) displayer.show(repo[nodes[0]]) - parents = repo[nodes[0]].parents() extendnode = extendbisectrange(nodes, good) if extendnode is not None: ui.write(_('Not all ancestors of this changeset have been' ' checked.\nUse bisect --extend to continue the ' 'bisection from\nthe common ancestor, %s.\n') - % short(extendnode.node())) + % extendnode) else: # multiple possible revisions if good: @@ -459,7 +458,7 @@ extendnode = extendbisectrange(nodes, good) if extendnode is not None: ui.write(_("Extending search to changeset %d:%s\n" - % (extendnode.rev(), short(extendnode.node())))) + % (extendnode.rev(), extendnode))) if noupdate: return cmdutil.bail_if_changed(repo)