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