Mercurial > hg
comparison tests/test-help.t @ 26157:65e41f388970
minirst: don't treat top level item as children of last item (issue4803)
test for "hg help -c config" in help config
author | timeless@mozdev.org |
---|---|
date | Wed, 02 Sep 2015 15:12:08 -0400 |
parents | 9b70eda7529c |
children | f3b467aca485 |
comparison
equal
deleted
inserted
replaced
26156:a112fffdb632 | 26157:65e41f388970 |
---|---|
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 Help subsection: | |
926 | |
927 $ hg help config.charsets |grep "Email example:" > /dev/null | |
928 [1] | |
929 | |
930 Last item in help config.*: | |
931 | |
932 $ hg help config.`hg help config|grep '^ "'| \ | |
933 > tail -1|sed 's![ "]*!!g'`| \ | |
934 > grep "hg help -c config" > /dev/null | |
935 [1] | |
936 | |
937 note to use help -c for general hg help config: | |
938 | |
939 $ hg help config |grep "hg help -c config" > /dev/null | |
940 | |
925 Test templating help | 941 Test templating help |
926 | 942 |
927 $ hg help templating | egrep '(desc|diffstat|firstline|nonempty) ' | 943 $ hg help templating | egrep '(desc|diffstat|firstline|nonempty) ' |
928 desc String. The text of the changeset description. | 944 desc String. The text of the changeset description. |
929 diffstat String. Statistics of changes with the following format: | 945 diffstat String. Statistics of changes with the following format: |