Show More
@@ -1242,14 +1242,11 b' def heads(ui, repo, *branchrevs, **opts)' | |||
|
1242 | 1242 | displayer.show(changenode=n) |
|
1243 | 1243 | |
|
1244 | 1244 | def help_(ui, name=None, with_version=False): |
|
1245 | """show help for a command, extension, or list of commands | |
|
1245 | """show help for a given topic or a help overview | |
|
1246 | 1246 | |
|
1247 | 1247 | With no arguments, print a list of commands and short help. |
|
1248 | 1248 | |
|
1249 |
Given a command name, print help for that c |
|
|
1250 | ||
|
1251 | Given an extension name, print help for that extension, and the | |
|
1252 | commands it provides.""" | |
|
1249 | Given a topic, extension, or command name, print help for that topic.""" | |
|
1253 | 1250 | option_lists = [] |
|
1254 | 1251 | |
|
1255 | 1252 | def addglobalopts(aliases): |
@@ -1434,7 +1431,7 b' def help_(ui, name=None, with_version=Fa' | |||
|
1434 | 1431 | or ""))) |
|
1435 | 1432 | |
|
1436 | 1433 | if not name: |
|
1437 |
ui.write(_("\n |
|
|
1434 | ui.write(_("\nadditional help topics:\n\n")) | |
|
1438 | 1435 | topics = [] |
|
1439 | 1436 | for names, header, doc in help.helptable: |
|
1440 | 1437 | names = [(-len(name), name) for name in names] |
@@ -3130,7 +3127,7 b' table = {' | |||
|
3130 | 3127 | [('r', 'rev', '', _('show only heads which are descendants of rev')), |
|
3131 | 3128 | ] + templateopts, |
|
3132 | 3129 | _('hg heads [-r REV] [REV]...')), |
|
3133 |
"help": (help_, [], _('hg help [ |
|
|
3130 | "help": (help_, [], _('hg help [TOPIC]')), | |
|
3134 | 3131 | "identify|id": |
|
3135 | 3132 | (identify, |
|
3136 | 3133 | [('r', 'rev', '', _('identify the specified rev')), |
@@ -1,5 +1,5 b'' | |||
|
1 | 1 | *** failed to import extension badext from .../badext.py: bit bucket overflow |
|
2 | 2 | *** failed to import extension badext2: No module named badext2 |
|
3 |
hg help [ |
|
|
3 | hg help [TOPIC] | |
|
4 | 4 | |
|
5 | show help for a command, extension, or list of commands | |
|
5 | show help for a given topic or a help overview |
@@ -166,7 +166,7 b' list of commands:' | |||
|
166 | 166 | export dump the header and diffs for one or more changesets |
|
167 | 167 | grep search for a pattern in specified files and revisions |
|
168 | 168 | heads show current repository heads or show branch heads |
|
169 |
help show help for a |
|
|
169 | help show help for a given topic or a help overview | |
|
170 | 170 | identify identify the working copy or specified revision |
|
171 | 171 | import import an ordered set of patches |
|
172 | 172 | incoming show new changesets found in source |
@@ -198,7 +198,7 b' list of commands:' | |||
|
198 | 198 | verify verify the integrity of the repository |
|
199 | 199 | version output version and copyright information |
|
200 | 200 | |
|
201 |
|
|
|
201 | additional help topics: | |
|
202 | 202 | |
|
203 | 203 | dates Date Formats |
|
204 | 204 | patterns File Name Patterns |
@@ -228,7 +228,7 b' list of commands:' | |||
|
228 | 228 | export dump the header and diffs for one or more changesets |
|
229 | 229 | grep search for a pattern in specified files and revisions |
|
230 | 230 | heads show current repository heads or show branch heads |
|
231 |
help show help for a |
|
|
231 | help show help for a given topic or a help overview | |
|
232 | 232 | identify identify the working copy or specified revision |
|
233 | 233 | import import an ordered set of patches |
|
234 | 234 | incoming show new changesets found in source |
@@ -260,7 +260,7 b' list of commands:' | |||
|
260 | 260 | verify verify the integrity of the repository |
|
261 | 261 | version output version and copyright information |
|
262 | 262 | |
|
263 |
|
|
|
263 | additional help topics: | |
|
264 | 264 | |
|
265 | 265 | dates Date Formats |
|
266 | 266 | patterns File Name Patterns |
@@ -57,7 +57,7 b' list of commands:' | |||
|
57 | 57 | export dump the header and diffs for one or more changesets |
|
58 | 58 | grep search for a pattern in specified files and revisions |
|
59 | 59 | heads show current repository heads or show branch heads |
|
60 |
help show help for a |
|
|
60 | help show help for a given topic or a help overview | |
|
61 | 61 | identify identify the working copy or specified revision |
|
62 | 62 | import import an ordered set of patches |
|
63 | 63 | incoming show new changesets found in source |
@@ -89,7 +89,7 b' list of commands:' | |||
|
89 | 89 | verify verify the integrity of the repository |
|
90 | 90 | version output version and copyright information |
|
91 | 91 | |
|
92 |
|
|
|
92 | additional help topics: | |
|
93 | 93 | |
|
94 | 94 | dates Date Formats |
|
95 | 95 | patterns File Name Patterns |
@@ -115,7 +115,7 b' use "hg -v help" to show aliases and glo' | |||
|
115 | 115 | export dump the header and diffs for one or more changesets |
|
116 | 116 | grep search for a pattern in specified files and revisions |
|
117 | 117 | heads show current repository heads or show branch heads |
|
118 |
help show help for a |
|
|
118 | help show help for a given topic or a help overview | |
|
119 | 119 | identify identify the working copy or specified revision |
|
120 | 120 | import import an ordered set of patches |
|
121 | 121 | incoming show new changesets found in source |
@@ -147,7 +147,7 b' use "hg -v help" to show aliases and glo' | |||
|
147 | 147 | verify verify the integrity of the repository |
|
148 | 148 | version output version and copyright information |
|
149 | 149 | |
|
150 |
|
|
|
150 | additional help topics: | |
|
151 | 151 | |
|
152 | 152 | dates Date Formats |
|
153 | 153 | patterns File Name Patterns |
General Comments 0
You need to be logged in to leave comments.
Login now