changeset 2828:12139eedd6a0

mq: drop qversion command
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 08 Aug 2006 17:11:36 -0700
parents 2a0c599f7bb0
children 05316bb57d01
files hgext/mq.py tests/test-mq.out
diffstat 2 files changed, 0 insertions(+), 9 deletions(-) [+]
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')
 }
 
--- a/tests/test-mq.out	Tue Aug 08 17:08:59 2006 -0700
+++ b/tests/test-mq.out	Tue Aug 08 17:11:36 2006 -0700
@@ -47,7 +47,6 @@
  qseries      print the entire series file
  qtop         print the name of the current patch
  qunapplied   print the patches not yet applied
- qversion     print the version number of the mq extension
  strip        strip a revision and all later revs on the same branch
 adding a
 adding b/z