Show More
@@ -86,7 +86,7 b' def loaddoc(topic):' | |||||
86 |
|
86 | |||
87 | return loader |
|
87 | return loader | |
88 |
|
88 | |||
89 | helptable = [ |
|
89 | helptable = sorted([ | |
90 | (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), |
|
90 | (["config", "hgrc"], _("Configuration Files"), loaddoc('config')), | |
91 | (["dates"], _("Date Formats"), loaddoc('dates')), |
|
91 | (["dates"], _("Date Formats"), loaddoc('dates')), | |
92 | (["patterns"], _("File Name Patterns"), loaddoc('patterns')), |
|
92 | (["patterns"], _("File Name Patterns"), loaddoc('patterns')), | |
@@ -106,7 +106,7 b' helptable = [' | |||||
106 | (["subrepo", "subrepos"], _("Subrepositories"), loaddoc('subrepos')), |
|
106 | (["subrepo", "subrepos"], _("Subrepositories"), loaddoc('subrepos')), | |
107 | (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')), |
|
107 | (["hgweb"], _("Configuring hgweb"), loaddoc('hgweb')), | |
108 | (["glossary"], _("Glossary"), loaddoc('glossary')), |
|
108 | (["glossary"], _("Glossary"), loaddoc('glossary')), | |
109 | ] |
|
109 | ]) | |
110 |
|
110 | |||
111 | # Map topics to lists of callable taking the current topic help and |
|
111 | # Map topics to lists of callable taking the current topic help and | |
112 | # returning the updated version |
|
112 | # returning the updated version |
@@ -335,22 +335,24 b' Testing -h/--help:' | |||||
335 |
|
335 | |||
336 | config Configuration Files |
|
336 | config Configuration Files | |
337 | dates Date Formats |
|
337 | dates Date Formats | |
338 | patterns File Name Patterns |
|
338 | diffs Diff Formats | |
339 | environment Environment Variables |
|
339 | environment Environment Variables | |
340 | revisions Specifying Single Revisions |
|
340 | extensions Using additional features | |
|
341 | glossary Glossary | |||
|
342 | hgweb Configuring hgweb | |||
|
343 | merge-tools Merge Tools | |||
341 | multirevs Specifying Multiple Revisions |
|
344 | multirevs Specifying Multiple Revisions | |
|
345 | patterns File Name Patterns | |||
|
346 | revisions Specifying Single Revisions | |||
342 | revsets Specifying Revision Sets |
|
347 | revsets Specifying Revision Sets | |
343 | diffs Diff Formats |
|
348 | subrepos Subrepositories | |
344 | merge-tools Merge Tools |
|
|||
345 | templating Template Usage |
|
349 | templating Template Usage | |
346 | urls URL Paths |
|
350 | urls URL Paths | |
347 | extensions Using additional features |
|
|||
348 | subrepos Subrepositories |
|
|||
349 | hgweb Configuring hgweb |
|
|||
350 | glossary Glossary |
|
|||
351 |
|
351 | |||
352 | use "hg -v help" to show builtin aliases and global options |
|
352 | use "hg -v help" to show builtin aliases and global options | |
353 |
|
353 | |||
|
354 | ||||
|
355 | ||||
354 | $ hg --help |
|
356 | $ hg --help | |
355 | Mercurial Distributed SCM |
|
357 | Mercurial Distributed SCM | |
356 |
|
358 | |||
@@ -412,19 +414,19 b' Testing -h/--help:' | |||||
412 |
|
414 | |||
413 | config Configuration Files |
|
415 | config Configuration Files | |
414 | dates Date Formats |
|
416 | dates Date Formats | |
415 | patterns File Name Patterns |
|
417 | diffs Diff Formats | |
416 | environment Environment Variables |
|
418 | environment Environment Variables | |
417 | revisions Specifying Single Revisions |
|
419 | extensions Using additional features | |
|
420 | glossary Glossary | |||
|
421 | hgweb Configuring hgweb | |||
|
422 | merge-tools Merge Tools | |||
418 | multirevs Specifying Multiple Revisions |
|
423 | multirevs Specifying Multiple Revisions | |
|
424 | patterns File Name Patterns | |||
|
425 | revisions Specifying Single Revisions | |||
419 | revsets Specifying Revision Sets |
|
426 | revsets Specifying Revision Sets | |
420 | diffs Diff Formats |
|
427 | subrepos Subrepositories | |
421 | merge-tools Merge Tools |
|
|||
422 | templating Template Usage |
|
428 | templating Template Usage | |
423 | urls URL Paths |
|
429 | urls URL Paths | |
424 | extensions Using additional features |
|
|||
425 | subrepos Subrepositories |
|
|||
426 | hgweb Configuring hgweb |
|
|||
427 | glossary Glossary |
|
|||
428 |
|
430 | |||
429 | use "hg -v help" to show builtin aliases and global options |
|
431 | use "hg -v help" to show builtin aliases and global options | |
430 |
|
432 |
@@ -105,19 +105,19 b' Short help:' | |||||
105 |
|
105 | |||
106 | config Configuration Files |
|
106 | config Configuration Files | |
107 | dates Date Formats |
|
107 | dates Date Formats | |
108 | patterns File Name Patterns |
|
108 | diffs Diff Formats | |
109 | environment Environment Variables |
|
109 | environment Environment Variables | |
110 | revisions Specifying Single Revisions |
|
110 | extensions Using additional features | |
|
111 | glossary Glossary | |||
|
112 | hgweb Configuring hgweb | |||
|
113 | merge-tools Merge Tools | |||
111 | multirevs Specifying Multiple Revisions |
|
114 | multirevs Specifying Multiple Revisions | |
|
115 | patterns File Name Patterns | |||
|
116 | revisions Specifying Single Revisions | |||
112 | revsets Specifying Revision Sets |
|
117 | revsets Specifying Revision Sets | |
113 | diffs Diff Formats |
|
118 | subrepos Subrepositories | |
114 | merge-tools Merge Tools |
|
|||
115 | templating Template Usage |
|
119 | templating Template Usage | |
116 | urls URL Paths |
|
120 | urls URL Paths | |
117 | extensions Using additional features |
|
|||
118 | subrepos Subrepositories |
|
|||
119 | hgweb Configuring hgweb |
|
|||
120 | glossary Glossary |
|
|||
121 |
|
121 | |||
122 | use "hg -v help" to show builtin aliases and global options |
|
122 | use "hg -v help" to show builtin aliases and global options | |
123 |
|
123 | |||
@@ -178,19 +178,19 b' Short help:' | |||||
178 |
|
178 | |||
179 | config Configuration Files |
|
179 | config Configuration Files | |
180 | dates Date Formats |
|
180 | dates Date Formats | |
181 | patterns File Name Patterns |
|
181 | diffs Diff Formats | |
182 | environment Environment Variables |
|
182 | environment Environment Variables | |
183 | revisions Specifying Single Revisions |
|
183 | extensions Using additional features | |
|
184 | glossary Glossary | |||
|
185 | hgweb Configuring hgweb | |||
|
186 | merge-tools Merge Tools | |||
184 | multirevs Specifying Multiple Revisions |
|
187 | multirevs Specifying Multiple Revisions | |
|
188 | patterns File Name Patterns | |||
|
189 | revisions Specifying Single Revisions | |||
185 | revsets Specifying Revision Sets |
|
190 | revsets Specifying Revision Sets | |
186 | diffs Diff Formats |
|
191 | subrepos Subrepositories | |
187 | merge-tools Merge Tools |
|
|||
188 | templating Template Usage |
|
192 | templating Template Usage | |
189 | urls URL Paths |
|
193 | urls URL Paths | |
190 | extensions Using additional features |
|
|||
191 | subrepos Subrepositories |
|
|||
192 | hgweb Configuring hgweb |
|
|||
193 | glossary Glossary |
|
|||
194 |
|
194 | |||
195 | Test short command list with verbose option |
|
195 | Test short command list with verbose option | |
196 |
|
196 | |||
@@ -705,22 +705,24 b' Test that default list of commands omits' | |||||
705 |
|
705 | |||
706 | config Configuration Files |
|
706 | config Configuration Files | |
707 | dates Date Formats |
|
707 | dates Date Formats | |
708 | patterns File Name Patterns |
|
708 | diffs Diff Formats | |
709 | environment Environment Variables |
|
709 | environment Environment Variables | |
710 | revisions Specifying Single Revisions |
|
710 | extensions Using additional features | |
|
711 | glossary Glossary | |||
|
712 | hgweb Configuring hgweb | |||
|
713 | merge-tools Merge Tools | |||
711 | multirevs Specifying Multiple Revisions |
|
714 | multirevs Specifying Multiple Revisions | |
|
715 | patterns File Name Patterns | |||
|
716 | revisions Specifying Single Revisions | |||
712 | revsets Specifying Revision Sets |
|
717 | revsets Specifying Revision Sets | |
713 | diffs Diff Formats |
|
718 | subrepos Subrepositories | |
714 | merge-tools Merge Tools |
|
|||
715 | templating Template Usage |
|
719 | templating Template Usage | |
716 | urls URL Paths |
|
720 | urls URL Paths | |
717 | extensions Using additional features |
|
|||
718 | subrepos Subrepositories |
|
|||
719 | hgweb Configuring hgweb |
|
|||
720 | glossary Glossary |
|
|||
721 |
|
721 | |||
722 | use "hg -v help" to show builtin aliases and global options |
|
722 | use "hg -v help" to show builtin aliases and global options | |
723 |
|
723 | |||
|
724 | ||||
|
725 | ||||
724 | Test list of commands with command with no help text |
|
726 | Test list of commands with command with no help text | |
725 |
|
727 | |||
726 | $ hg help helpext |
|
728 | $ hg help helpext |
General Comments 0
You need to be logged in to leave comments.
Login now