tests/sitecustomize.py
author Bryan O'Sullivan <bryano@fb.com>
Sat, 19 May 2012 19:44:58 -0700
changeset 16786 2631cd5dd244
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
revlog: switch to a C version of headrevs The C implementation is more than 100 times faster than the Python version (which is still available as a fallback). In a repo with 330,000 revs and a stale .hg/cache/tags file, this patch improves the performance of "hg tip" from 2.2 to 1.6 seconds.

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