hgext3rd/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 07 Feb 2023 13:14:59 +0100
changeset 49991 3997c64eff8b
parent 48875 6000f5b25c9b
child 51863 f4733654f144
permissions -rw-r--r--
test: use a more direct approach to test racy mutation The previous test was relying on implementation details and harder to maintain. The new version is closer to the initial intend : "What happens the file get overwritten from under the current process" This change is motivated by further changes around the transaction and dirstate logic that would break the fragile equilibrium that existed before this patch. Making this change early make it easier to review on its own and remove noise in future larger changes.

# name space package to host third party extensions
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)