tests/test-hgrc.t
changeset 12697 14853ca7e11b
parent 12640 6cc4b14fb76b
child 13572 1bb2a56a9d73
--- a/tests/test-hgrc.t	Sun Oct 10 17:35:28 2010 -0500
+++ b/tests/test-hgrc.t	Sat Oct 09 16:55:33 2010 -0500
@@ -75,6 +75,22 @@
   $ HGUSER=$olduser
   $ export HGUSER
 
+showconfig with multiple arguments
+
+  $ echo "[alias]" > $HGRCPATH
+  $ echo "log = log -g" >> $HGRCPATH
+  $ echo "[defaults]" >> $HGRCPATH
+  $ echo "identify = -n" >> $HGRCPATH
+  $ hg showconfig alias defaults
+  alias.log=log -g
+  defaults.identify=-n
+  $ hg showconfig alias defaults.identify
+  abort: only one config item permitted
+  [255]
+  $ hg showconfig alias.log defaults.identify
+  abort: only one config item permitted
+  [255]
+
 HGPLAIN
 
   $ cd ..