sapling/eden/integration
Michael Bolin 95fd684e2e Both ENOTDIR and ENOENT should be ignored when stat'ing a possibly missing file.
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
2017-11-01 20:49:44 -07:00
..
hg Both ENOTDIR and ENOENT should be ignored when stat'ing a possibly missing file. 2017-11-01 20:49:44 -07:00
lib Fix hg grep so it works when run from a subdirectory. 2017-09-13 12:57:40 -07:00
basic_test.py add .eden "magic" dir 2017-03-24 23:07:42 -07:00
clone_test.py Use a more direct stringification of an exception. 2017-10-31 17:06:08 -07:00
debug_getpath_test.py Use a more direct stringification of an exception. 2017-10-31 17:06:08 -07:00
debug_hg_get_dirstate_tuple_test.py Introduce eden debug hg_get_dirstate_tuple. 2017-08-18 21:49:59 -07:00
health_test.py move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
hypothesis_simple_test.py add .eden "magic" dir 2017-03-24 23:07:42 -07:00
info_test.py fix a bug in bind mount shutdown 2017-03-20 22:11:19 -07:00
materialized_query_test.py do a better job at reporting "new" in watchman results. 2017-08-11 12:57:37 -07:00
oexcl_test.py move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
rc_test.py move eden/fs/cli to eden/cli 2017-04-14 11:39:01 -07:00
remount_test.py Print a sensible error message when the user tries to mount an existing mount. 2017-10-31 17:06:08 -07:00
rename_test.py add .eden "magic" dir 2017-03-24 23:07:42 -07:00
repo_test.py move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
sed_test.py move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
setattr_test.py setting TimeStamps for TreeInode 2017-08-14 23:23:23 -07:00
TARGETS don't run all integration tests in both build modes 2017-07-07 16:01:33 -07:00
thrift_test.py Changes to return unloaded inode count for TreeInode::unloadChildrenNow 2017-08-22 19:50:00 -07:00
unixsocket_test.py add basic mknod support 2017-03-30 23:53:05 -07:00
unlink_test.py move integration tests to eden/integration 2017-01-31 14:41:14 -08:00
xattr_test.py move integration tests to eden/integration 2017-01-31 14:41:14 -08:00