mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
1c695e6dc6
Summary: Previously, we were clearing entries in `hgDirstateTuples` for which: ``` mergeState == NotApplicable ``` but we should have been checking for: ``` mergeState == NotApplicable AND status == Normal ``` The previous logic was causing us to erroneously clear entries in a state like: ``` mergeState == NotApplicable AND status == MarkedForRemoval ``` This bug manifested itself when grafting a change that removed a file. The file was removed from disk, but Eden did not know that it had been `MarkedForRemoval`, so it would report the removed file as "missing" in `hg status`. Reviewed By: wez Differential Revision: D5797270 fbshipit-source-id: 29740dfaa8102db868b95e932716773787f317ac |
||
---|---|---|
.. | ||
hg | ||
lib | ||
basic_test.py | ||
clone_test.py | ||
debug_getpath_test.py | ||
debug_hg_get_dirstate_tuple_test.py | ||
health_test.py | ||
hypothesis_simple_test.py | ||
info_test.py | ||
materialized_query_test.py | ||
oexcl_test.py | ||
rc_test.py | ||
remount_test.py | ||
rename_test.py | ||
repo_test.py | ||
sed_test.py | ||
setattr_test.py | ||
TARGETS | ||
thrift_test.py | ||
unixsocket_test.py | ||
unlink_test.py | ||
xattr_test.py |