tests/test-config-case
author Martin Geisler <mg@lazybytes.net>
Mon, 04 May 2009 22:14:52 +0200
changeset 8297 7f27e69dd27f
parent 4528 85a69f4d1e80
permissions -rwxr-xr-x
util: stop overwriting sha1, overwrite _fastsha1 instead Some modules (like revlog) would import util.sha1 as _sha1. This defeats the purpose of having util.sha1 overwrite itself with a faster version -- revlog would end up always calling the slow version. By always delegating to util._fastsha1 we avoid this at the cost of an extra (but unconditional) indirection.

#!/bin/sh

echo '[Section]' >> $HGRCPATH
echo 'KeY = Case Sensitive' >> $HGRCPATH
echo 'key = lower case' >> $HGRCPATH

hg showconfig Section