Skip to content
Snippets Groups Projects
Commit 9dbbaecfc950 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

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.
parent a93e60ebea09
No related branches found
No related tags found
2 merge requests!854Merge stable into default,!852Dirstate-v2: catch corruption before writing it to disk
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment