tests/test-config-case
author Patrick Mezard <pmezard@gmail.com>
Sat, 11 Apr 2009 00:13:18 +0200
changeset 8044 c1e2b7407dc3
parent 4528 85a69f4d1e80
permissions -rwxr-xr-x
purge: fix b777dd8f7836 (remove read-only files) - use try/except to avoid unnecessary work - edit only mode bits
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3425
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     1
#!/bin/sh
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     2
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     3
echo '[Section]' >> $HGRCPATH
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     4
echo 'KeY = Case Sensitive' >> $HGRCPATH
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     5
echo 'key = lower case' >> $HGRCPATH
ec6f400cff4d Use a case-sensitive version of SafeConfigParser everywhere
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff changeset
     6
4528
85a69f4d1e80 test-config-case: print only the Section we're interested in.
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents: 3425
diff changeset
     7
hg showconfig Section