##// END OF EJS Templates
mq: drop qversion command
Vadim Gelfer -
r2828:12139eed default
parent child Browse files
Show More
@@ -35,8 +35,6 b' demandload(globals(), "os sys re struct '
35 from mercurial.i18n import gettext as _
35 from mercurial.i18n import gettext as _
36 from mercurial import ui, hg, revlog, commands, util
36 from mercurial import ui, hg, revlog, commands, util
37
37
38 versionstr = "0.45"
39
40 commands.norepo += " qclone qversion"
38 commands.norepo += " qclone qversion"
41
39
42 class statusentry:
40 class statusentry:
@@ -1793,11 +1791,6 b' def select(ui, repo, *args, **opts):'
1793 else:
1791 else:
1794 ui.write(_('no active guards\n'))
1792 ui.write(_('no active guards\n'))
1795
1793
1796 def version(ui, q=None):
1797 """print the version number of the mq extension"""
1798 ui.write("mq version %s\n" % versionstr)
1799 return 0
1800
1801 def reposetup(ui, repo):
1794 def reposetup(ui, repo):
1802 class mqrepo(repo.__class__):
1795 class mqrepo(repo.__class__):
1803 def tags(self):
1796 def tags(self):
@@ -1929,6 +1922,5 b' cmdtable = {'
1929 'hg strip [-f] [-b] [-n] REV'),
1922 'hg strip [-f] [-b] [-n] REV'),
1930 "qtop": (top, [], 'hg qtop'),
1923 "qtop": (top, [], 'hg qtop'),
1931 "qunapplied": (unapplied, [], 'hg qunapplied [PATCH]'),
1924 "qunapplied": (unapplied, [], 'hg qunapplied [PATCH]'),
1932 "qversion": (version, [], 'hg qversion')
1933 }
1925 }
1934
1926
@@ -47,7 +47,6 b' list of commands (use "hg help -v mq" to'
47 qseries print the entire series file
47 qseries print the entire series file
48 qtop print the name of the current patch
48 qtop print the name of the current patch
49 qunapplied print the patches not yet applied
49 qunapplied print the patches not yet applied
50 qversion print the version number of the mq extension
51 strip strip a revision and all later revs on the same branch
50 strip strip a revision and all later revs on the same branch
52 adding a
51 adding a
53 adding b/z
52 adding b/z
General Comments 0
You need to be logged in to leave comments. Login now