mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
0f4132c35f
Summary: We were hitting an assertion in the case where we did a `mkdir` followed by a `rename` followed by `getMaterializedEntries`. The issue is that our in-memory representation has a boolean to indicate whether a dir inode is materialized, but our serialization format does not have this bit. When we loaded the data we were not setting the field to true and this was caught by the DCHECK. If we have serialized data for a dir then it is, by definition, materialized and we should just set that field to true. Reviewed By: bolinfest Differential Revision: D3900795 fbshipit-source-id: 62d8281e7a1009056d274888c9aff87664d2e09f |
||
---|---|---|
.. | ||
EdenMount.cpp | ||
EdenMount.h | ||
FileData.cpp | ||
FileData.h | ||
Overlay.cpp | ||
Overlay.h | ||
overlay.thrift | ||
TARGETS | ||
TreeEntryFileHandle.cpp | ||
TreeEntryFileHandle.h | ||
TreeEntryFileInode.cpp | ||
TreeEntryFileInode.h | ||
TreeInode.cpp | ||
TreeInode.h | ||
TreeInodeDirHandle.cpp | ||
TreeInodeDirHandle.h |