mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
95fd684e2e
Summary: There is logic in `eden_dirstate.walk()` that looks to see if any of the files that are reported as "removed" by `hg status` are still on disk, and if so, should be considered for a walk. Because the files are likely removed, we were catching `ENOENT` for a failed `os.stat()`, but we also needed to be catching `ENOTDIR`. This turned out to be the reason `hg add` was failing in a specific case, for which we already had an integration test, but it wasn't passing until now. Reviewed By: simpkins Differential Revision: D6207233 fbshipit-source-id: 44e5252bb0130ca279160f0a64286053fa5509d5 |
||
---|---|---|
.. | ||
lib | ||
absorb_test.py | ||
add_test.py | ||
branch_test.py | ||
commit_test.py | ||
copy_test.py | ||
debug_hg_dirstate_test.py | ||
diff_test.py | ||
graft_test.py | ||
grep_test.py | ||
histedit_test.py | ||
merge_test.py | ||
move_test.py | ||
README.md | ||
rebase_test.py | ||
revert_test.py | ||
rm_test.py | ||
rollback_test.py | ||
split_test.py | ||
status_test.py | ||
TARGETS | ||
undo_test.py | ||
update_test.py |
Integration tests in this directory are specific to the Eden extension for Mercurial.
Most tests will want to subclass HgExtensionTestBase
.