tests/test-config.t
changeset 29412 b62bce819d0c
parent 23348 bbe56e07e07a
child 29950 80fef5251099
--- a/tests/test-config.t	Sat Jun 25 07:26:43 2016 -0700
+++ b/tests/test-config.t	Sat Jun 25 18:35:14 2016 -0700
@@ -90,3 +90,15 @@
 
   $ hg config Section.idontexist
   [1]
+
+sub-options in [paths] aren't expanded
+
+  $ cat > .hg/hgrc << EOF
+  > [paths]
+  > foo = ~/foo
+  > foo:suboption = ~/foo
+  > EOF
+
+  $ hg showconfig paths
+  paths.foo:suboption=~/foo
+  paths.foo=$TESTTMP/foo