tests/sitecustomize.py
author Idan Kamara <idankk86@gmail.com>
Mon, 25 Jul 2011 22:19:28 +0300
changeset 14939 b4c06b97dfe0
parent 10648 58128004cca1
child 14971 0b21ae0a2366
permissions -rw-r--r--
cmdserver: repo.invalidate() on every runcommand This will trigger the filecache and recreate every cached property that was changed by something other than this cmdserver instance (e.g. by running 'hg commit' at the cmdline).

try:
    import coverage
    if hasattr(coverage, 'process_startup'):
        coverage.process_startup()
except ImportError:
    pass