tests/sitecustomize.py
author Matt Mackall <mpm@selenic.com>
Tue, 12 Aug 2014 00:42:05 -0500
changeset 22109 feab93a24e81
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
hg-test-mode: don't highlight variables in output This was disabling highlighting the rest of the line for $REASONS. Instead, we only highlight when we think we're on a 'command' line.

try:
    import coverage
    getattr(coverage, 'process_startup', lambda: None)()
except ImportError:
    pass