view hgext/__init__.py @ 50025:d50d45cd5a5f

dirstate: invalidate the dirstate change on transaction failure If the change context lives inside a transaction, the change are not flushed to disk on exit as this is delegated to the transaction. As a result we should also delegate the part that do cleanup on failure. The issue was caught by tests with other change, but it seems useful to fix this as soon as possible.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 13 Feb 2023 21:51:45 +0100
parents 6000f5b25c9b
children f4733654f144
line wrap: on
line source

import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)