mercurial/templates/__init__.py
author |
Pierre-Yves David <pierre-yves.david@octobus.net> |
|
Mon, 06 Mar 2023 22:16:43 +0100 |
branch | stable |
changeset 50290 |
92734603e33e |
parent 45303 |
f55c47f41b8e
|
permissions |
-rw-r--r-- |
undo-files: clean existing files up before writing new one
the in the initial design of journal/undo interaction, ages ago, new file always
overwrote previous files. This is no longer the case for a long while, so it is
time to properly clean things up before writing new ones.
Otherwise, inconsistent "undo" state might exist on disk, leading `hg rollback`
to misbehave (more that intended).