diff -r 91cc8dc866ed -r edbcf5b239f9 tests/test-config.t --- 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