sapling/eden
Yan Soares Couto 3312f2c3cb ignore file not found when creating a snapshot
Summary:
Sometimes hg might recognise an untracked file as being added, but by the time it tries to load it, the file is gone, causing a crash.

For snapshots, it should be fine in this case to simply ignore this file. That is what this diff does. It specifically ignores `FileNotFoundError`, meaning other files still get classified as errors and we're not swallowing anything we shouldn't be.

Reviewed By: mitrandir77

Differential Revision: D34043083

fbshipit-source-id: cec7d528652c1704f3a3db707eafc0e43f24ac74
2022-02-08 07:00:28 -08:00
..
fs move autocargo up one level (#101) 2022-02-08 06:07:52 -08:00
hg-server move autocargo up one level (#101) 2022-02-08 06:07:52 -08:00
integration backingstore: conditionalize use of "fb" feature 2022-01-27 13:32:12 -08:00
locale
mononoke add fb303 args 2022-02-08 04:22:55 -08:00
scm ignore file not found when creating a snapshot 2022-02-08 07:00:28 -08:00
test_support test_support: shave 10 characters from EdenFS socket 2022-02-07 10:55:04 -08:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml