Mercurial > hg > mercurial-crew-with-dirclash
changeset 2817: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 +++ b/hgext/mq.py @@ -35,8 +35,6 @@ demandload(globals(), "os sys re struct 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 @@ def select(ui, repo, *args, **opts): 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 @@ cmdtable = { 'hg strip [-f] [-b] [-n] REV'), "qtop": (top, [], 'hg qtop'), "qunapplied": (unapplied, [], 'hg qunapplied [PATCH]'), - "qversion": (version, [], 'hg qversion') }
--- a/tests/test-mq.out +++ b/tests/test-mq.out @@ -47,7 +47,6 @@ list of commands (use "hg help -v mq" to 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