view tests/sitecustomize.py @ 17012:ea97744c4801

localrepo: convert _updatebranchcache from nodespace to revspace _updatebranchcache used to use revlog.reachable. After the switch to revlog.ancestors, we can now clean it up a bit and switch the algorithm from nodes to revs.
author Joshua Redstone <joshua.redstone@fb.com>
date Fri, 01 Jun 2012 08:56:17 -0700
parents 0b21ae0a2366
children 031947baf4d0
line wrap: on
line source

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