Mercurial > hg
view tests/sitecustomize.py @ 19178:4327687ca757
copies: refactor checkcopies() into a top level method
This moves checkcopies() out of mergecopies() and makes it a top level
function in the copies module. This allows extensions to override it. For
example, I'm developing a filelog replacement that doesn't have rev numbers
so all the rev number dependent implementation here needs to be replaced
by the extension.
No logic is changed in this commit.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 01 May 2013 10:44:21 -0700 |
parents | 0b21ae0a2366 |
children | 031947baf4d0 |
line wrap: on
line source
try: import coverage getattr(coverage, 'process_startup', lambda: None)() except ImportError: pass