Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 9142:63cfacb7917e
merge with crew-stable
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 15 Jul 2009 17:44:47 +0200 |
parents | 31177742f54a 98d90ad54749 |
children | 9261667e9b82 |
comparison
equal
deleted
inserted
replaced
9141:78b81646a2e4 | 9142:63cfacb7917e |
---|---|
1471 if name == "shortlist" and not f.startswith("^"): | 1471 if name == "shortlist" and not f.startswith("^"): |
1472 continue | 1472 continue |
1473 f = f.lstrip("^") | 1473 f = f.lstrip("^") |
1474 if not ui.debugflag and f.startswith("debug"): | 1474 if not ui.debugflag and f.startswith("debug"): |
1475 continue | 1475 continue |
1476 doc = gettext(e[0].__doc__) | 1476 doc = e[0].__doc__ |
1477 if doc and 'DEPRECATED' in doc and not ui.verbose: | |
1478 continue | |
1479 doc = gettext(doc) | |
1477 if not doc: | 1480 if not doc: |
1478 doc = _("(no help text available)") | 1481 doc = _("(no help text available)") |
1479 h[f] = doc.splitlines()[0].rstrip() | 1482 h[f] = doc.splitlines()[0].rstrip() |
1480 cmds[f] = c.lstrip("^") | 1483 cmds[f] = c.lstrip("^") |
1481 | 1484 |