Mercurial > public > mercurial-scm > hg-stable
diff tests/test-help.t @ 26113:9b70eda7529c
help: distinguish sections when multiple match (issue4802)
author | timeless@mozdev.org |
---|---|
date | Sun, 30 Aug 2015 19:03:38 -0400 |
parents | ff12a6c63c3d |
children | 65e41f388970 |
line wrap: on
line diff
--- a/tests/test-help.t Mon Aug 31 17:21:38 2015 -0500 +++ b/tests/test-help.t Sun Aug 30 19:03:38 2015 -0400 @@ -912,6 +912,16 @@ working directory is checked out, it is equivalent to null. If an uncommitted merge is in progress, "." is the revision of the first parent. +Test repeated config section name + + $ hg help config.host + "http_proxy.host" + Host name and (optional) port of the proxy server, for example + "myproxy:8000". + + "smtp.host" + Host name of mail server, e.g. "mail.example.com". + Test templating help $ hg help templating | egrep '(desc|diffstat|firstline|nonempty) '