tests/sitecustomize.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Tue, 27 Jan 2015 12:33:56 +0000
branchstable
changeset 23970 8a544fb645bb
parent 14971 0b21ae0a2366
child 24505 031947baf4d0
permissions -rw-r--r--
rebase: ensure rebase revision remains visible (issue4504) Before this changeset rebase was getting very confused if any revision in the rebase set became hidden. This was fairly easy to achieve if a rebased revision was made visible by the working copy location. The rebase process would update somewhere else and the revision would become hidden. To work around this issue, we ensure rebased revisions remain visible for the whole process. This is a simple change suitable for stable. More subtle usage of unfiltered repository in rebase may solve this issue more cleanly.

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