fix dirstate.status() to invoke match callback functions correctly

Summary:
Update `eden_dirstate.status()` to invoke the `match.bad()` and
`match.explicitdir()` appropriately when any of the explicitly specified match
paths either don't exist or refer to directories.

Reviewed By: chadaustin

Differential Revision: D7556850

fbshipit-source-id: 2e8d88ff0e3c09cea2f3ef5b18c9a214231815ab
This commit is contained in:
Adam Simpkins 2018-04-13 15:54:33 -07:00 committed by Facebook Github Bot
parent c2d233c7b8
commit 81a645c21c

View File

@ -152,7 +152,6 @@ class CommitTest(EdenHgTestCase):
})
self.assert_dirstate_empty()
@unittest.skip('TODO: this behavior is currently broken')
def test_commit_subdirectory(self) -> None:
self.assert_status_empty()
self.assert_dirstate_empty()