##// END OF EJS Templates
help: normalize hint about enabling extensions
Matt Mackall -
r22113:2d2cb5e5 default
parent child Browse files
Show More
@@ -449,8 +449,8 b' def help_(ui, name, unknowncmd=False, fu'
449 modcmds = set([c.split('|', 1)[0] for c in ct])
449 modcmds = set([c.split('|', 1)[0] for c in ct])
450 rst.extend(helplist(modcmds.__contains__))
450 rst.extend(helplist(modcmds.__contains__))
451 else:
451 else:
452 rst.append(_('use "hg help extensions" for information on enabling '
452 rst.append(_('(use "hg help extensions" for information on enabling'
453 'extensions\n'))
453 ' extensions)\n'))
454 return rst
454 return rst
455
455
456 def helpextcmd(name):
456 def helpextcmd(name):
@@ -461,8 +461,8 b' def help_(ui, name, unknowncmd=False, fu'
461 rst = listexts(_("'%s' is provided by the following "
461 rst = listexts(_("'%s' is provided by the following "
462 "extension:") % cmd, {ext: doc}, indent=4)
462 "extension:") % cmd, {ext: doc}, indent=4)
463 rst.append('\n')
463 rst.append('\n')
464 rst.append(_('use "hg help extensions" for information on enabling '
464 rst.append(_('(use "hg help extensions" for information on enabling '
465 'extensions\n'))
465 'extensions)\n'))
466 return rst
466 return rst
467
467
468
468
@@ -588,7 +588,7 b' Disabled extension commands:'
588
588
589 patchbomb command to send changesets as (a series of) patch emails
589 patchbomb command to send changesets as (a series of) patch emails
590
590
591 use "hg help extensions" for information on enabling extensions
591 (use "hg help extensions" for information on enabling extensions)
592
592
593
593
594 $ hg qdel
594 $ hg qdel
@@ -597,7 +597,7 b' Disabled extension commands:'
597
597
598 mq manage a stack of patches
598 mq manage a stack of patches
599
599
600 use "hg help extensions" for information on enabling extensions
600 (use "hg help extensions" for information on enabling extensions)
601 [255]
601 [255]
602
602
603
603
@@ -607,7 +607,7 b' Disabled extension commands:'
607
607
608 churn command to display statistics about repository history
608 churn command to display statistics about repository history
609
609
610 use "hg help extensions" for information on enabling extensions
610 (use "hg help extensions" for information on enabling extensions)
611 [255]
611 [255]
612
612
613
613
@@ -617,12 +617,12 b' Disabled extensions:'
617 $ hg help churn
617 $ hg help churn
618 churn extension - command to display statistics about repository history
618 churn extension - command to display statistics about repository history
619
619
620 use "hg help extensions" for information on enabling extensions
620 (use "hg help extensions" for information on enabling extensions)
621
621
622 $ hg help patchbomb
622 $ hg help patchbomb
623 patchbomb extension - command to send changesets as (a series of) patch emails
623 patchbomb extension - command to send changesets as (a series of) patch emails
624
624
625 use "hg help extensions" for information on enabling extensions
625 (use "hg help extensions" for information on enabling extensions)
626
626
627
627
628 Broken disabled extension and command:
628 Broken disabled extension and command:
@@ -642,7 +642,7 b' Broken disabled extension and command:'
642 $ hg --config extensions.path=./path.py help broken
642 $ hg --config extensions.path=./path.py help broken
643 broken extension - (no help text available)
643 broken extension - (no help text available)
644
644
645 use "hg help extensions" for information on enabling extensions
645 (use "hg help extensions" for information on enabling extensions)
646
646
647
647
648 $ cat > hgext/forest.py <<EOF
648 $ cat > hgext/forest.py <<EOF
@@ -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
10 commit/qrefresh
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
@@ -18,7 +18,7 b' help qrecord (no record)'
18
18
19 record commands to interactively select changes for commit/qrefresh
19 record commands to interactively select changes for commit/qrefresh
20
20
21 use "hg help extensions" for information on enabling extensions
21 (use "hg help extensions" for information on enabling extensions)
22
22
23 $ echo "[extensions]" >> $HGRCPATH
23 $ echo "[extensions]" >> $HGRCPATH
24 $ echo "record=" >> $HGRCPATH
24 $ echo "record=" >> $HGRCPATH
General Comments 0
You need to be logged in to leave comments. Login now