Revert almost all of 5be434785317; add a test
Because of file copies, we should update the manifest dict only after
committing all files.
Is there an error message when trying to diff non-existing files?
found: No such file or directory
not: No such file or directory
Is there an error message when trying to add non-existing files?
found: No such file or directory
not: No such file or directory