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