diff -r 35c3f94233a0 -r 98d90ad54749 mercurial/commands.py --- a/mercurial/commands.py Sun Jul 12 07:56:43 2009 +0200 +++ b/mercurial/commands.py Fri Jul 10 13:40:25 2009 +0200 @@ -1493,7 +1493,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)[0].rstrip()