##// END OF EJS Templates
help: use single quotes in use warning
timeless -
r29974:7109d5dd default
parent child Browse files
Show More
@@ -358,8 +358,8 b' def help_(ui, name, unknowncmd=False, fu'
358 mod = extensions.find(name)
358 mod = extensions.find(name)
359 doc = gettext(mod.__doc__) or ''
359 doc = gettext(mod.__doc__) or ''
360 if '\n' in doc.strip():
360 if '\n' in doc.strip():
361 msg = _('(use "hg help -e %s" to show help for '
361 msg = _("(use 'hg help -e %s' to show help for "
362 'the %s extension)') % (name, name)
362 "the %s extension)") % (name, name)
363 rst.append('\n%s\n' % msg)
363 rst.append('\n%s\n' % msg)
364 except KeyError:
364 except KeyError:
365 pass
365 pass
@@ -374,7 +374,7 b' def help_(ui, name, unknowncmd=False, fu'
374
374
375 if not ui.verbose:
375 if not ui.verbose:
376 if not full:
376 if not full:
377 rst.append(_('\n(use "hg %s -h" to show more help)\n')
377 rst.append(_("\n(use 'hg %s -h' to show more help)\n")
378 % name)
378 % name)
379 elif not ui.quiet:
379 elif not ui.quiet:
380 rst.append(_('\n(some details hidden, use --verbose '
380 rst.append(_('\n(some details hidden, use --verbose '
@@ -450,21 +450,21 b' def help_(ui, name, unknowncmd=False, fu'
450 rst.append('\n%s\n' % optrst(_("global options"),
450 rst.append('\n%s\n' % optrst(_("global options"),
451 commands.globalopts, ui.verbose))
451 commands.globalopts, ui.verbose))
452 if name == 'shortlist':
452 if name == 'shortlist':
453 rst.append(_('\n(use "hg help" for the full list '
453 rst.append(_("\n(use 'hg help' for the full list "
454 'of commands)\n'))
454 "of commands)\n"))
455 else:
455 else:
456 if name == 'shortlist':
456 if name == 'shortlist':
457 rst.append(_('\n(use "hg help" for the full list of commands '
457 rst.append(_("\n(use 'hg help' for the full list of commands "
458 'or "hg -v" for details)\n'))
458 "or 'hg -v' for details)\n"))
459 elif name and not full:
459 elif name and not full:
460 rst.append(_('\n(use "hg help %s" to show the full help '
460 rst.append(_("\n(use 'hg help %s' to show the full help "
461 'text)\n') % name)
461 "text)\n") % name)
462 elif name and cmds and name in cmds.keys():
462 elif name and cmds and name in cmds.keys():
463 rst.append(_('\n(use "hg help -v -e %s" to show built-in '
463 rst.append(_("\n(use 'hg help -v -e %s' to show built-in "
464 'aliases and global options)\n') % name)
464 "aliases and global options)\n") % name)
465 else:
465 else:
466 rst.append(_('\n(use "hg help -v%s" to show built-in aliases '
466 rst.append(_("\n(use 'hg help -v%s' to show built-in aliases "
467 'and global options)\n')
467 "and global options)\n")
468 % (name and " " + name or ""))
468 % (name and " " + name or ""))
469 return rst
469 return rst
470
470
@@ -498,8 +498,8 b' def help_(ui, name, unknowncmd=False, fu'
498
498
499 try:
499 try:
500 cmdutil.findcmd(name, commands.table)
500 cmdutil.findcmd(name, commands.table)
501 rst.append(_('\nuse "hg help -c %s" to see help for '
501 rst.append(_("\nuse 'hg help -c %s' to see help for "
502 'the %s command\n') % (name, name))
502 "the %s command\n") % (name, name))
503 except error.UnknownCommand:
503 except error.UnknownCommand:
504 pass
504 pass
505 return rst
505 return rst
@@ -536,8 +536,8 b' def help_(ui, name, unknowncmd=False, fu'
536 modcmds = set([c.partition('|')[0] for c in ct])
536 modcmds = set([c.partition('|')[0] for c in ct])
537 rst.extend(helplist(modcmds.__contains__))
537 rst.extend(helplist(modcmds.__contains__))
538 else:
538 else:
539 rst.append(_('(use "hg help extensions" for information on enabling'
539 rst.append(_("(use 'hg help extensions' for information on enabling"
540 ' extensions)\n'))
540 " extensions)\n"))
541 return rst
541 return rst
542
542
543 def helpextcmd(name, subtopic=None):
543 def helpextcmd(name, subtopic=None):
@@ -549,8 +549,8 b' def help_(ui, name, unknowncmd=False, fu'
549 "extension:") % cmd, {ext: doc}, indent=4,
549 "extension:") % cmd, {ext: doc}, indent=4,
550 showdeprecated=True)
550 showdeprecated=True)
551 rst.append('\n')
551 rst.append('\n')
552 rst.append(_('(use "hg help extensions" for information on enabling '
552 rst.append(_("(use 'hg help extensions' for information on enabling "
553 'extensions)\n'))
553 "extensions)\n"))
554 return rst
554 return rst
555
555
556
556
@@ -575,7 +575,7 b' def help_(ui, name, unknowncmd=False, fu'
575 rst.append('\n')
575 rst.append('\n')
576 if not rst:
576 if not rst:
577 msg = _('no matches')
577 msg = _('no matches')
578 hint = _('try "hg help" for a list of topics')
578 hint = _("try 'hg help' for a list of topics")
579 raise error.Abort(msg, hint=hint)
579 raise error.Abort(msg, hint=hint)
580 elif name and name != 'shortlist':
580 elif name and name != 'shortlist':
581 queries = []
581 queries = []
@@ -598,7 +598,7 b' def help_(ui, name, unknowncmd=False, fu'
598 raise error.UnknownCommand(name)
598 raise error.UnknownCommand(name)
599 else:
599 else:
600 msg = _('no such help topic: %s') % name
600 msg = _('no such help topic: %s') % name
601 hint = _('try "hg help --keyword %s"') % name
601 hint = _("try 'hg help --keyword %s'") % name
602 raise error.Abort(msg, hint=hint)
602 raise error.Abort(msg, hint=hint)
603 else:
603 else:
604 # program name
604 # program name
@@ -99,7 +99,7 b' disabled'
99
99
100 patchbomb command to send changesets as (a series of) patch emails
100 patchbomb command to send changesets as (a series of) patch emails
101
101
102 (use "hg help extensions" for information on enabling extensions)
102 (use 'hg help extensions' for information on enabling extensions)
103
103
104
104
105 no definition
105 no definition
@@ -441,7 +441,7 b' invalid arguments'
441
441
442 alias for: hg root
442 alias for: hg root
443
443
444 (use "hg rt -h" to show more help)
444 (use 'hg rt -h' to show more help)
445 [255]
445 [255]
446
446
447 invalid global arguments for normal commands, aliases, and shell aliases
447 invalid global arguments for normal commands, aliases, and shell aliases
@@ -470,7 +470,7 b' invalid global arguments for normal comm'
470 summary summarize working directory state
470 summary summarize working directory state
471 update update working directory (or switch revisions)
471 update update working directory (or switch revisions)
472
472
473 (use "hg help" for the full list of commands or "hg -v" for details)
473 (use 'hg help' for the full list of commands or 'hg -v' for details)
474 [255]
474 [255]
475 $ hg --invalid mylog
475 $ hg --invalid mylog
476 hg: option --invalid not recognized
476 hg: option --invalid not recognized
@@ -496,7 +496,7 b' invalid global arguments for normal comm'
496 summary summarize working directory state
496 summary summarize working directory state
497 update update working directory (or switch revisions)
497 update update working directory (or switch revisions)
498
498
499 (use "hg help" for the full list of commands or "hg -v" for details)
499 (use 'hg help' for the full list of commands or 'hg -v' for details)
500 [255]
500 [255]
501 $ hg --invalid blank
501 $ hg --invalid blank
502 hg: option --invalid not recognized
502 hg: option --invalid not recognized
@@ -522,7 +522,7 b' invalid global arguments for normal comm'
522 summary summarize working directory state
522 summary summarize working directory state
523 update update working directory (or switch revisions)
523 update update working directory (or switch revisions)
524
524
525 (use "hg help" for the full list of commands or "hg -v" for details)
525 (use 'hg help' for the full list of commands or 'hg -v' for details)
526 [255]
526 [255]
527
527
528 environment variable changes in alias commands
528 environment variable changes in alias commands
@@ -78,7 +78,7 b' typical client does not want echo-back m'
78 summary summarize working directory state
78 summary summarize working directory state
79 update update working directory (or switch revisions)
79 update update working directory (or switch revisions)
80
80
81 (use "hg help" for the full list of commands or "hg -v" for details)
81 (use 'hg help' for the full list of commands or 'hg -v' for details)
82 *** runcommand id --quiet
82 *** runcommand id --quiet
83 000000000000
83 000000000000
84 *** runcommand id
84 *** runcommand id
@@ -105,7 +105,7 b' perfstatus'
105 benchmark the computation of various volatile set
105 benchmark the computation of various volatile set
106 perfwalk (no help text available)
106 perfwalk (no help text available)
107
107
108 (use "hg help -v perfstatusext" to show built-in aliases and global options)
108 (use 'hg help -v perfstatusext' to show built-in aliases and global options)
109 $ hg perfaddremove
109 $ hg perfaddremove
110 $ hg perfancestors
110 $ hg perfancestors
111 $ hg perfancestorset 2
111 $ hg perfancestorset 2
@@ -27,7 +27,7 b' Missing arg:'
27 -I --include PATTERN [+] include names matching the given patterns
27 -I --include PATTERN [+] include names matching the given patterns
28 -X --exclude PATTERN [+] exclude names matching the given patterns
28 -X --exclude PATTERN [+] exclude names matching the given patterns
29
29
30 (use "hg cat -h" to show more help)
30 (use 'hg cat -h' to show more help)
31 [255]
31 [255]
32
32
33 [defaults]
33 [defaults]
@@ -399,14 +399,14 b' Test handling of non-ASCII paths in gene'
399
399
400 $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help -k xyzzy
400 $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help -k xyzzy
401 abort: no matches
401 abort: no matches
402 (try "hg help" for a list of topics)
402 (try 'hg help' for a list of topics)
403 [255]
403 [255]
404
404
405 $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help td > /dev/null
405 $ HGPLAIN=1 hg --config hgext.extdiff= --config extdiff.cmd.td=hi help td > /dev/null
406
406
407 $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config extdiff.cmd.td=$U help -k xyzzy
407 $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config extdiff.cmd.td=$U help -k xyzzy
408 abort: no matches
408 abort: no matches
409 (try "hg help" for a list of topics)
409 (try 'hg help' for a list of topics)
410 [255]
410 [255]
411
411
412 $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config extdiff.cmd.td=$U help td \
412 $ LC_MESSAGES=ja_JP.UTF-8 hg --config hgext.extdiff= --config extdiff.cmd.td=$U help td \
@@ -592,7 +592,7 b' Asking for help about a deprecated exten'
592
592
593 graphlog command to view revision graphs from a shell (DEPRECATED)
593 graphlog command to view revision graphs from a shell (DEPRECATED)
594
594
595 (use "hg help extensions" for information on enabling extensions)
595 (use 'hg help extensions' for information on enabling extensions)
596
596
597 Extension module help vs command help:
597 Extension module help vs command help:
598
598
@@ -616,7 +616,7 b' Extension module help vs command help:'
616 compared to the working directory, and, when no revisions are specified,
616 compared to the working directory, and, when no revisions are specified,
617 the working directory files are compared to its parent.
617 the working directory files are compared to its parent.
618
618
619 (use "hg help -e extdiff" to show help for the extdiff extension)
619 (use 'hg help -e extdiff' to show help for the extdiff extension)
620
620
621 options ([+] can be repeated):
621 options ([+] can be repeated):
622
622
@@ -696,7 +696,7 b' Extension module help vs command help:'
696
696
697 extdiff use external program to diff repository (or selected files)
697 extdiff use external program to diff repository (or selected files)
698
698
699 (use "hg help -v -e extdiff" to show built-in aliases and global options)
699 (use 'hg help -v -e extdiff' to show built-in aliases and global options)
700
700
701
701
702
702
@@ -748,7 +748,7 b' Test help topic with same name as extens'
748 A range acts as a closed interval. This means that a range of 3:5 gives 3,
748 A range acts as a closed interval. This means that a range of 3:5 gives 3,
749 4 and 5. Similarly, a range of 9:6 gives 9, 8, 7, and 6.
749 4 and 5. Similarly, a range of 9:6 gives 9, 8, 7, and 6.
750
750
751 use "hg help -c multirevs" to see help for the multirevs command
751 use 'hg help -c multirevs' to see help for the multirevs command
752
752
753
753
754
754
@@ -770,7 +770,7 b' Test help topic with same name as extens'
770
770
771 multirevs command
771 multirevs command
772
772
773 (use "hg multirevs -h" to show more help)
773 (use 'hg multirevs -h' to show more help)
774 [255]
774 [255]
775
775
776
776
@@ -830,7 +830,7 b" Make sure that user is asked to enter '-"
830 dodo Does nothing
830 dodo Does nothing
831 foofoo Writes 'Foo foo'
831 foofoo Writes 'Foo foo'
832
832
833 (use "hg help -v -e dodo" to show built-in aliases and global options)
833 (use 'hg help -v -e dodo' to show built-in aliases and global options)
834
834
835 Make sure that '-v -e' prints list of built-in aliases along with
835 Make sure that '-v -e' prints list of built-in aliases along with
836 extension help itself
836 extension help itself
@@ -871,7 +871,7 b" Make sure that single '-v' option shows "
871
871
872 Does nothing
872 Does nothing
873
873
874 (use "hg help -e dodo" to show help for the dodo extension)
874 (use 'hg help -e dodo' to show help for the dodo extension)
875
875
876 options:
876 options:
877
877
@@ -933,7 +933,7 b' along with extension help'
933 beep Writes 'Beep beep'
933 beep Writes 'Beep beep'
934 something Does something
934 something Does something
935
935
936 (use "hg help -v dudu" to show built-in aliases and global options)
936 (use 'hg help -v dudu' to show built-in aliases and global options)
937
937
938 In case when extension name doesn't match any of its commands,
938 In case when extension name doesn't match any of its commands,
939 help options '-v' and '-v -e' should be equivalent
939 help options '-v' and '-v -e' should be equivalent
@@ -1011,7 +1011,7 b' Disabled extension commands:'
1011
1011
1012 patchbomb command to send changesets as (a series of) patch emails
1012 patchbomb command to send changesets as (a series of) patch emails
1013
1013
1014 (use "hg help extensions" for information on enabling extensions)
1014 (use 'hg help extensions' for information on enabling extensions)
1015
1015
1016
1016
1017 $ hg qdel
1017 $ hg qdel
@@ -1020,7 +1020,7 b' Disabled extension commands:'
1020
1020
1021 mq manage a stack of patches
1021 mq manage a stack of patches
1022
1022
1023 (use "hg help extensions" for information on enabling extensions)
1023 (use 'hg help extensions' for information on enabling extensions)
1024 [255]
1024 [255]
1025
1025
1026
1026
@@ -1030,7 +1030,7 b' Disabled extension commands:'
1030
1030
1031 churn command to display statistics about repository history
1031 churn command to display statistics about repository history
1032
1032
1033 (use "hg help extensions" for information on enabling extensions)
1033 (use 'hg help extensions' for information on enabling extensions)
1034 [255]
1034 [255]
1035
1035
1036
1036
@@ -1040,12 +1040,12 b' Disabled extensions:'
1040 $ hg help churn
1040 $ hg help churn
1041 churn extension - command to display statistics about repository history
1041 churn extension - command to display statistics about repository history
1042
1042
1043 (use "hg help extensions" for information on enabling extensions)
1043 (use 'hg help extensions' for information on enabling extensions)
1044
1044
1045 $ hg help patchbomb
1045 $ hg help patchbomb
1046 patchbomb extension - command to send changesets as (a series of) patch emails
1046 patchbomb extension - command to send changesets as (a series of) patch emails
1047
1047
1048 (use "hg help extensions" for information on enabling extensions)
1048 (use 'hg help extensions' for information on enabling extensions)
1049
1049
1050
1050
1051 Broken disabled extension and command:
1051 Broken disabled extension and command:
@@ -1065,7 +1065,7 b' Broken disabled extension and command:'
1065 $ hg --config extensions.path=./path.py help broken
1065 $ hg --config extensions.path=./path.py help broken
1066 broken extension - (no help text available)
1066 broken extension - (no help text available)
1067
1067
1068 (use "hg help extensions" for information on enabling extensions)
1068 (use 'hg help extensions' for information on enabling extensions)
1069
1069
1070
1070
1071 $ cat > hgext/forest.py <<EOF
1071 $ cat > hgext/forest.py <<EOF
@@ -1074,7 +1074,7 b' Broken disabled extension and command:'
1074 $ hg --config extensions.path=./path.py help foo > /dev/null
1074 $ hg --config extensions.path=./path.py help foo > /dev/null
1075 warning: error finding commands in $TESTTMP/hgext/forest.py (glob)
1075 warning: error finding commands in $TESTTMP/hgext/forest.py (glob)
1076 abort: no such help topic: foo
1076 abort: no such help topic: foo
1077 (try "hg help --keyword foo")
1077 (try 'hg help --keyword foo')
1078 [255]
1078 [255]
1079
1079
1080 $ cat > throw.py <<EOF
1080 $ cat > throw.py <<EOF
@@ -361,7 +361,7 b' Testing -h/--help:'
361 templating Template Usage
361 templating Template Usage
362 urls URL Paths
362 urls URL Paths
363
363
364 (use "hg help -v" to show built-in aliases and global options)
364 (use 'hg help -v' to show built-in aliases and global options)
365
365
366
366
367
367
@@ -444,7 +444,7 b' Testing -h/--help:'
444 templating Template Usage
444 templating Template Usage
445 urls URL Paths
445 urls URL Paths
446
446
447 (use "hg help -v" to show built-in aliases and global options)
447 (use 'hg help -v' to show built-in aliases and global options)
448
448
449 Not tested: --debugger
449 Not tested: --debugger
450
450
@@ -23,7 +23,7 b' Short help:'
23 summary summarize working directory state
23 summary summarize working directory state
24 update update working directory (or switch revisions)
24 update update working directory (or switch revisions)
25
25
26 (use "hg help" for the full list of commands or "hg -v" for details)
26 (use 'hg help' for the full list of commands or 'hg -v' for details)
27
27
28 $ hg -q
28 $ hg -q
29 add add the specified files on the next commit
29 add add the specified files on the next commit
@@ -123,7 +123,7 b' Short help:'
123 templating Template Usage
123 templating Template Usage
124 urls URL Paths
124 urls URL Paths
125
125
126 (use "hg help -v" to show built-in aliases and global options)
126 (use 'hg help -v' to show built-in aliases and global options)
127
127
128 $ hg -q help
128 $ hg -q help
129 add add the specified files on the next commit
129 add add the specified files on the next commit
@@ -332,7 +332,7 b' Test short command list with verbose opt'
332 -h --help display help and exit
332 -h --help display help and exit
333 --hidden consider hidden changesets
333 --hidden consider hidden changesets
334
334
335 (use "hg help" for the full list of commands)
335 (use 'hg help' for the full list of commands)
336
336
337 $ hg add -h
337 $ hg add -h
338 hg add [OPTION]... [FILE]...
338 hg add [OPTION]... [FILE]...
@@ -467,7 +467,7 b' Test help option with version option'
467 -S --subrepos recurse into subrepositories
467 -S --subrepos recurse into subrepositories
468 -n --dry-run do not perform actions, just print output
468 -n --dry-run do not perform actions, just print output
469
469
470 (use "hg add -h" to show more help)
470 (use 'hg add -h' to show more help)
471 [255]
471 [255]
472
472
473 Test ambiguous command help
473 Test ambiguous command help
@@ -478,7 +478,7 b' Test ambiguous command help'
478 add add the specified files on the next commit
478 add add the specified files on the next commit
479 addremove add all new files, delete all missing files
479 addremove add all new files, delete all missing files
480
480
481 (use "hg help -v ad" to show built-in aliases and global options)
481 (use 'hg help -v ad' to show built-in aliases and global options)
482
482
483 Test command without options
483 Test command without options
484
484
@@ -622,7 +622,7 b' Test command without options'
622
622
623 $ hg help foo
623 $ hg help foo
624 abort: no such help topic: foo
624 abort: no such help topic: foo
625 (try "hg help --keyword foo")
625 (try 'hg help --keyword foo')
626 [255]
626 [255]
627
627
628 $ hg skjdfks
628 $ hg skjdfks
@@ -649,7 +649,7 b' Test command without options'
649 summary summarize working directory state
649 summary summarize working directory state
650 update update working directory (or switch revisions)
650 update update working directory (or switch revisions)
651
651
652 (use "hg help" for the full list of commands or "hg -v" for details)
652 (use 'hg help' for the full list of commands or 'hg -v' for details)
653 [255]
653 [255]
654
654
655
655
@@ -842,7 +842,7 b' Test that default list of commands omits'
842 templating Template Usage
842 templating Template Usage
843 urls URL Paths
843 urls URL Paths
844
844
845 (use "hg help -v" to show built-in aliases and global options)
845 (use 'hg help -v' to show built-in aliases and global options)
846
846
847
847
848 Test list of internal help commands
848 Test list of internal help commands
@@ -921,7 +921,7 b' Test list of internal help commands'
921 debugwireargs
921 debugwireargs
922 (no help text available)
922 (no help text available)
923
923
924 (use "hg help -v debug" to show built-in aliases and global options)
924 (use 'hg help -v debug' to show built-in aliases and global options)
925
925
926 internals topic renders index of available sub-topics
926 internals topic renders index of available sub-topics
927
927
@@ -1104,7 +1104,7 b' Test list of commands with command with '
1104
1104
1105 nohelp (no help text available)
1105 nohelp (no help text available)
1106
1106
1107 (use "hg help -v helpext" to show built-in aliases and global options)
1107 (use 'hg help -v helpext' to show built-in aliases and global options)
1108
1108
1109
1109
1110 test deprecated and experimental options are hidden in command help
1110 test deprecated and experimental options are hidden in command help
@@ -1330,7 +1330,7 b' Test -e / -c / -k combinations'
1330 Extension Commands:
1330 Extension Commands:
1331 $ hg help -c schemes
1331 $ hg help -c schemes
1332 abort: no such help topic: schemes
1332 abort: no such help topic: schemes
1333 (try "hg help --keyword schemes")
1333 (try 'hg help --keyword schemes')
1334 [255]
1334 [255]
1335 $ hg help -e schemes |head -1
1335 $ hg help -e schemes |head -1
1336 schemes extension - extend schemes with shortcuts to repository swarms
1336 schemes extension - extend schemes with shortcuts to repository swarms
@@ -1345,7 +1345,7 b' Test -e / -c / -k combinations'
1345 $ hg help -e -c commit > /dev/null
1345 $ hg help -e -c commit > /dev/null
1346 $ hg help -e commit > /dev/null
1346 $ hg help -e commit > /dev/null
1347 abort: no such help topic: commit
1347 abort: no such help topic: commit
1348 (try "hg help --keyword commit")
1348 (try 'hg help --keyword commit')
1349 [255]
1349 [255]
1350
1350
1351 Test keyword search help
1351 Test keyword search help
@@ -1387,14 +1387,14 b' Test unfound topic'
1387
1387
1388 $ hg help nonexistingtopicthatwillneverexisteverever
1388 $ hg help nonexistingtopicthatwillneverexisteverever
1389 abort: no such help topic: nonexistingtopicthatwillneverexisteverever
1389 abort: no such help topic: nonexistingtopicthatwillneverexisteverever
1390 (try "hg help --keyword nonexistingtopicthatwillneverexisteverever")
1390 (try 'hg help --keyword nonexistingtopicthatwillneverexisteverever')
1391 [255]
1391 [255]
1392
1392
1393 Test unfound keyword
1393 Test unfound keyword
1394
1394
1395 $ hg help --keyword nonexistingwordthatwillneverexisteverever
1395 $ hg help --keyword nonexistingwordthatwillneverexisteverever
1396 abort: no matches
1396 abort: no matches
1397 (try "hg help" for a list of topics)
1397 (try 'hg help' for a list of topics)
1398 [255]
1398 [255]
1399
1399
1400 Test omit indicating for help
1400 Test omit indicating for help
@@ -1633,7 +1633,7 b' Show help content of disabled extensions'
1633 $ hg help -e ambiguous
1633 $ hg help -e ambiguous
1634 ambiguous extension - (no help text available)
1634 ambiguous extension - (no help text available)
1635
1635
1636 (use "hg help extensions" for information on enabling extensions)
1636 (use 'hg help extensions' for information on enabling extensions)
1637
1637
1638 Test dynamic list of merge tools only shows up once
1638 Test dynamic list of merge tools only shows up once
1639 $ hg help merge-tools
1639 $ hg help merge-tools
@@ -96,7 +96,7 b' help'
96 qtop print the name of the current patch
96 qtop print the name of the current patch
97 qunapplied print the patches not yet applied
97 qunapplied print the patches not yet applied
98
98
99 (use "hg help -v mq" to show built-in aliases and global options)
99 (use 'hg help -v mq' to show built-in aliases and global options)
100
100
101 $ hg init a
101 $ hg init a
102 $ cd a
102 $ cd a
@@ -9,7 +9,7 b' help record (no record)'
9 record extension - commands to interactively select changes for
9 record extension - commands to interactively select changes for
10 commit/qrefresh (DEPRECATED)
10 commit/qrefresh (DEPRECATED)
11
11
12 (use "hg help extensions" for information on enabling extensions)
12 (use 'hg help extensions' for information on enabling extensions)
13
13
14 help qrecord (no record)
14 help qrecord (no record)
15
15
@@ -19,7 +19,7 b' help qrecord (no record)'
19 record commands to interactively select changes for commit/qrefresh
19 record commands to interactively select changes for commit/qrefresh
20 (DEPRECATED)
20 (DEPRECATED)
21
21
22 (use "hg help extensions" for information on enabling extensions)
22 (use 'hg help extensions' for information on enabling extensions)
23
23
24 $ echo "[extensions]" >> $HGRCPATH
24 $ echo "[extensions]" >> $HGRCPATH
25 $ echo "record=" >> $HGRCPATH
25 $ echo "record=" >> $HGRCPATH
@@ -55,7 +55,7 b' help record (record)'
55
55
56 This command is not available when committing a merge.
56 This command is not available when committing a merge.
57
57
58 (use "hg help -e record" to show help for the record extension)
58 (use 'hg help -e record' to show help for the record extension)
59
59
60 options ([+] can be repeated):
60 options ([+] can be repeated):
61
61
@@ -99,7 +99,7 b' qrecord (mq not present)'
99
99
100 interactively record a new patch
100 interactively record a new patch
101
101
102 (use "hg qrecord -h" to show more help)
102 (use 'hg qrecord -h' to show more help)
103 [255]
103 [255]
104
104
105 qrecord patch (mq not present)
105 qrecord patch (mq not present)
@@ -41,7 +41,7 b' Record help'
41
41
42 This command is not available when committing a merge.
42 This command is not available when committing a merge.
43
43
44 (use "hg help -e record" to show help for the record extension)
44 (use 'hg help -e record' to show help for the record extension)
45
45
46 options ([+] can be repeated):
46 options ([+] can be repeated):
47
47
@@ -54,7 +54,7 b' shelve has a help message'
54 To delete specific shelved changes, use "--delete". To delete all shelved
54 To delete specific shelved changes, use "--delete". To delete all shelved
55 changes, use "--cleanup".
55 changes, use "--cleanup".
56
56
57 (use "hg help -e shelve" to show help for the shelve extension)
57 (use 'hg help -e shelve' to show help for the shelve extension)
58
58
59 options ([+] can be repeated):
59 options ([+] can be repeated):
60
60
@@ -37,7 +37,7 b''
37 summary summarize working directory state
37 summary summarize working directory state
38 update update working directory (or switch revisions)
38 update update working directory (or switch revisions)
39
39
40 (use "hg help" for the full list of commands or "hg -v" for details)
40 (use 'hg help' for the full list of commands or 'hg -v' for details)
41 [255]
41 [255]
42 $ hg annotate a
42 $ hg annotate a
43 0: a
43 0: a
@@ -704,7 +704,7 b' Make sure no one adds back a -b option:'
704
704
705 strip changesets and all their descendants from the repository
705 strip changesets and all their descendants from the repository
706
706
707 (use "hg help -e strip" to show help for the strip extension)
707 (use 'hg help -e strip' to show help for the strip extension)
708
708
709 options ([+] can be repeated):
709 options ([+] can be repeated):
710
710
@@ -717,7 +717,7 b' Make sure no one adds back a -b option:'
717 -B --bookmark VALUE [+] remove revs only reachable from given bookmark
717 -B --bookmark VALUE [+] remove revs only reachable from given bookmark
718 --mq operate on patch repository
718 --mq operate on patch repository
719
719
720 (use "hg strip -h" to show more help)
720 (use 'hg strip -h' to show more help)
721 [255]
721 [255]
722
722
723 $ cd ..
723 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now