mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
8be3b57eed
Summary: This updates the TreeInode code to remove the redundant materialized flag. A TreeInode should have a Tree Hash if and only if it is dematerialized, so there is no need for an extra `materialized` boolean. This diff also fixes an issue in TreeInode::saveOverlayPostCheckout() where it was not correctly informing it's parent TreeInode of the change if it moved from one dematerialized state to another (with a different TreeInode hash). This fixes the code to correctly call `parent->childDematerialized()` when it needs to inform the parent that it now refers to a different source control hash. Reviewed By: wez Differential Revision: D5336629 fbshipit-source-id: b4d86ecdef2f5faefbc243a09d869c02384ae95c |
||
---|---|---|
.. | ||
test | ||
cmd_util.py | ||
config.py | ||
configinterpolator.py | ||
debug.py | ||
main.py | ||
rage.py | ||
TARGETS | ||
util.py |