Mercurial > hg
view tests/sitecustomize.py @ 24106:9cf9432a505b
trydiff: extract function that generates filename pairs
The code that identifies copies/renames, as well as the filenames
before and after, is now isolated and we can extract it to a function
so it can be overridden by extensions (in particular the narrow clone
extension).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 22 Jan 2015 23:29:00 -0800 |
parents | 0b21ae0a2366 |
children | 031947baf4d0 |
line wrap: on
line source
try: import coverage getattr(coverage, 'process_startup', lambda: None)() except ImportError: pass