tests/sitecustomize.py
author Durham Goode <durham@fb.com>
Mon, 11 Nov 2013 16:40:02 -0800
changeset 20073 eeba4eaf0716
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
revlog: return lazy set from findcommonmissing When computing the commonmissing, it greedily computes the entire set immediately. On a large repo where the majority of history is irrelevant, this causes a significant slow down. Replacing it with a lazy set makes amend go from 11 seconds to 8.7 seconds.

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