Mercurial > hg
annotate tests/test-config-case.t @ 13955:86b5cc1e8be8 stable
help config: explain that config files do not exist by default
Inspired by critique given on StackOverflow where a user writes:
I can have a good guess at what "%USERPROFILE%" might signify but
none of the files listed in the "hg help config" output exist after
running the installer. Previous experience would suggest that
missing files mean something somewhere has gone seriously wrong.
http://stackoverflow.com/questions/2329023/2351139#2351139
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Mon, 18 Apr 2011 13:57:22 +0200 |
parents | 5e2216a35839 |
children | 73d20de5f30b |
rev | line source |
---|---|
12082
5e2216a35839
tests: unify test-config-case
Adrian Buehlmann <adrian@cadifra.com>
parents:
4528
diff
changeset
|
1 $ echo '[Section]' >> $HGRCPATH |
5e2216a35839
tests: unify test-config-case
Adrian Buehlmann <adrian@cadifra.com>
parents:
4528
diff
changeset
|
2 $ echo 'KeY = Case Sensitive' >> $HGRCPATH |
5e2216a35839
tests: unify test-config-case
Adrian Buehlmann <adrian@cadifra.com>
parents:
4528
diff
changeset
|
3 $ echo 'key = lower case' >> $HGRCPATH |
3425
ec6f400cff4d
Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
4 |
12082
5e2216a35839
tests: unify test-config-case
Adrian Buehlmann <adrian@cadifra.com>
parents:
4528
diff
changeset
|
5 $ hg showconfig Section |
5e2216a35839
tests: unify test-config-case
Adrian Buehlmann <adrian@cadifra.com>
parents:
4528
diff
changeset
|
6 Section.KeY=Case Sensitive |
5e2216a35839
tests: unify test-config-case
Adrian Buehlmann <adrian@cadifra.com>
parents:
4528
diff
changeset
|
7 Section.key=lower case |
3425
ec6f400cff4d
Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
8 |