This is an archive of the discontinued Mercurial Phabricator instance.

treemanifests: store whether a lazydirs entry needs copied after materializing
ClosedPublic

Authored by spectral on Oct 3 2018, 6:22 PM.

Details

Summary

Due to the way that things like manifestlog.get caches its values, without
making a copy (if necessary) after calling readsubtree(), we might end up
adjusting the state of the same object on different contexts, breaking things
like dirty state tracking (and probably other things).

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped