Skip to content
Snippets Groups Projects
Commit e16065bb7f42 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

dirstatemap: stop setting identity after reading the data

The code was calling `_set_identity` in too many places, resulting in fetching
cache information after reading the on disk data. This could result in old data
labelled with the identity of new, never loaded data.

Fixing it solve the issue spotted in the previous changesets.

Further cleanup are warranted but it seems more reasonable to do them on stable.
parent 51a9148f8349
No related branches found
No related tags found
2 merge requests!1268Further dirstate cleanup,!1263fix tests (and reveal a bug) around dirstate-race
Pipeline #99749 passed
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