Mercurial > hg
comparison tests/test-help.t @ 26170:61124bf8485f
minirst: handle edge in hunting for parents
test for "hg help -c config" in help config
``section``
-----------
section text
``def1``
definition of def1
$ hg help scope.def1
should list this paragraph, but not section text below...
section text
``def2``
definition of def2
$ hg help scope.def2
should list this paragraph, but not section text below...
section text
$ hg help scope.section should show everything from the first
section text to this last line.
``section2``
------------
author | timeless@mozdev.org |
---|---|
date | Thu, 03 Sep 2015 17:06:27 -0400 |
parents | f3b467aca485 |
children | 6832ba528d1a |
comparison
equal
deleted
inserted
replaced
26169:ea888285311f | 26170:61124bf8485f |
---|---|
920 "myproxy:8000". | 920 "myproxy:8000". |
921 | 921 |
922 "smtp.host" | 922 "smtp.host" |
923 Host name of mail server, e.g. "mail.example.com". | 923 Host name of mail server, e.g. "mail.example.com". |
924 | 924 |
925 Unrelated trailing paragraphs shouldn't be included | |
926 | |
927 $ hg help config.extramsg | grep '^$' | |
928 | |
929 | |
925 Test capitalized section name | 930 Test capitalized section name |
926 | 931 |
927 $ hg help scripting.HGPLAIN > /dev/null | 932 $ hg help scripting.HGPLAIN > /dev/null |
928 | 933 |
929 Help subsection: | 934 Help subsection: |