Mercurial > public > mercurial-scm > hg
comparison mercurial/commands.py @ 12821:165079e564f0 stable
revsets: generate predicate help dynamically
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sat, 23 Oct 2010 19:21:51 +0200 |
parents | a68ccfd9c7be |
children | 01145ee78c53 |
comparison
equal
deleted
inserted
replaced
12820:0edc0aa7432d | 12821:165079e564f0 |
---|---|
2026 indent=4) | 2026 indent=4) |
2027 ui.write(minirst.format(msg, textwidth)) | 2027 ui.write(minirst.format(msg, textwidth)) |
2028 ui.write('\n\n') | 2028 ui.write('\n\n') |
2029 ui.write(_('use "hg help extensions" for information on enabling ' | 2029 ui.write(_('use "hg help extensions" for information on enabling ' |
2030 'extensions\n')) | 2030 'extensions\n')) |
2031 | |
2032 help.addtopichook('revsets', revset.makedoc) | |
2031 | 2033 |
2032 if name and name != 'shortlist': | 2034 if name and name != 'shortlist': |
2033 i = None | 2035 i = None |
2034 if unknowncmd: | 2036 if unknowncmd: |
2035 queries = (helpextcmd,) | 2037 queries = (helpextcmd,) |