changeset 9142 | 63cfacb7917e |
parent 9136 | 31177742f54a |
parent 9128 | 98d90ad54749 |
child 9157 | 9261667e9b82 |
--- 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()