Mercurial > hg
diff hgext/hbisect.py @ 3643:b4ad640a3bcf
templates: move changeset templating bits to cmdutils
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 13 Nov 2006 13:26:57 -0600 |
parents | 3d6efcbbd1c9 |
children | abaee83ce0a6 50a46ae14efb |
line wrap: on
line diff
--- a/hgext/hbisect.py Mon Nov 13 13:26:57 2006 -0600 +++ b/hgext/hbisect.py Mon Nov 13 13:26:57 2006 -0600 @@ -8,7 +8,7 @@ from mercurial.i18n import gettext as _ from mercurial.demandload import demandload -demandload(globals(), "os sys sets mercurial:hg,util,commands") +demandload(globals(), "os sys sets mercurial:hg,util,commands,cmdutil") versionstr = "0.0.3" @@ -169,7 +169,7 @@ if ancestors.pop() != self.badrev: raise util.Abort(_("Could not find the first bad revision")) self.ui.write(_("The first bad revision is:\n")) - displayer = commands.show_changeset(self.ui, self.repo, {}) + displayer = cmdutil.show_changeset(self.ui, self.repo, {}) displayer.show(changenode=self.badrev) return None best_rev = None