Mercurial > hg
diff hgext/mq.py @ 2828:12139eedd6a0
mq: drop qversion command
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 08 Aug 2006 17:11:36 -0700 |
parents | 2e4ace008c94 |
children | 05316bb57d01 |
line wrap: on
line diff
--- a/hgext/mq.py Tue Aug 08 17:08:59 2006 -0700 +++ b/hgext/mq.py Tue Aug 08 17:11:36 2006 -0700 @@ -35,8 +35,6 @@ from mercurial.i18n import gettext as _ from mercurial import ui, hg, revlog, commands, util -versionstr = "0.45" - commands.norepo += " qclone qversion" class statusentry: @@ -1793,11 +1791,6 @@ else: ui.write(_('no active guards\n')) -def version(ui, q=None): - """print the version number of the mq extension""" - ui.write("mq version %s\n" % versionstr) - return 0 - def reposetup(ui, repo): class mqrepo(repo.__class__): def tags(self): @@ -1929,6 +1922,5 @@ 'hg strip [-f] [-b] [-n] REV'), "qtop": (top, [], 'hg qtop'), "qunapplied": (unapplied, [], 'hg qunapplied [PATCH]'), - "qversion": (version, [], 'hg qversion') }