tests/test-config.t
changeset 42093 edbcf5b239f9
parent 36753 a22915edc279
child 42699 51a2e3102db2
--- a/tests/test-config.t	Wed Apr 03 17:41:58 2019 -0700
+++ b/tests/test-config.t	Wed Apr 03 16:03:41 2019 -0700
@@ -211,3 +211,12 @@
   $ hg log --template '{author}\n'
   repo user
   $ cd ..
+
+configs should be read in lexicographical order
+
+  $ mkdir configs
+  $ for i in `$TESTDIR/seq.py 10 99`; do
+  >    printf "[section]\nkey=$i" > configs/$i.rc
+  > done
+  $ HGRCPATH=configs hg config section.key
+  99