Mercurial > hg
diff tests/test-config.t @ 30215:438173c41587 stable 4.0-rc
merge default into stable for 4.0 code freeze
author | Kevin Bullock <kbullock+mercurial@ringworld.org> |
---|---|
date | Tue, 18 Oct 2016 14:15:15 -0500 |
parents | 80fef5251099 |
children | 201b44c8875c |
line wrap: on
line diff
--- a/tests/test-config.t Tue Oct 18 14:13:06 2016 -0500 +++ b/tests/test-config.t Tue Oct 18 14:15:15 2016 -0500 @@ -54,6 +54,36 @@ Section.KeY=Case Sensitive Section.key=lower case + $ hg showconfig Section -Tjson + [ + { + "name": "Section.KeY", + "source": "*.hgrc:16", (glob) + "value": "Case Sensitive" + }, + { + "name": "Section.key", + "source": "*.hgrc:17", (glob) + "value": "lower case" + } + ] + $ hg showconfig Section.KeY -Tjson + [ + { + "name": "Section.KeY", + "source": "*.hgrc:16", (glob) + "value": "Case Sensitive" + } + ] + $ hg showconfig -Tjson | tail -7 + }, + { + "name": "*", (glob) + "source": "*", (glob) + "value": "*" (glob) + } + ] + Test "%unset" $ cat >> $HGRCPATH <<EOF