Mercurial > hg
comparison hgext/remotenames.py @ 50310:4c1061b3e55a stable
transaction: allow to backup file that already have an offset
This will be useful in the next changeset to deal with rolling back the split of
inline revlog on transaction failure.
This involve deeper change to the transaction logic as we need to make sure we
restore the backup -before- the truncation step. Otherwise, the truncation
would act on the wrong file and be overwritten by the backup restoration later.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 15 Mar 2023 14:29:37 +0100 |
parents | 33872fec41e7 |
children | 5ac5f16277a9 |
comparison
equal
deleted
inserted
replaced
50309:86dc9e097bed | 50310:4c1061b3e55a |
---|