diff hgweb.cgi @ 51616:9dbbaecfc950 stable

dirstate-v2: add check of parent/child nodes being related when writing This stems from a corruption seen in a private repository. We're not sure of the source of the corruption, and it's very possible that we're seeing compounded effects of multiple writes on a corrupted dirstate. Adding this check is not expensive in itself and large writes of the dirstate are not common. This change does not catch this problem at the root node, the next one will.
author Raphaël Gomès <rgomes@octobus.net>
date Mon, 06 May 2024 13:02:52 +0200
parents d5cd1fd690f3
children
line wrap: on
line diff