diff hgext/churn.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 5a22b2594d96
line wrap: on
line diff