diff -r 78b81646a2e4 -r 63cfacb7917e mercurial/commands.py --- a/mercurial/commands.py Tue Jul 14 18:00:37 2009 -0700 +++ b/mercurial/commands.py Wed Jul 15 17:44:47 2009 +0200 @@ -1473,7 +1473,10 @@ f = f.lstrip("^") if not ui.debugflag and f.startswith("debug"): continue - doc = gettext(e[0].__doc__) + doc = e[0].__doc__ + if doc and 'DEPRECATED' in doc and not ui.verbose: + continue + doc = gettext(doc) if not doc: doc = _("(no help text available)") h[f] = doc.splitlines()[0].rstrip()