This is an archive of the discontinued Mercurial Phabricator instance.

sparse: fix interaction with treemanifest
ClosedPublic

Authored by durham on Jul 14 2017, 2:09 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGX010cb3d963bf: sparse: fix interaction with treemanifest
Summary

Treemanifest relies on the matcher visitdir function, which was not implemented
in our special sparse matchers. Long term we should migrate to using the core
sparse extension. For now let's just implement visitdir().

Test Plan

Added a test. Previously the test would throw a big exception.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Branch
default
Lint
Lint OK
Unit
Unit Tests OK

Event Timeline

durham created this revision.Jul 14 2017, 2:09 PM
quark accepted this revision.Jul 14 2017, 2:13 PM
This revision is now accepted and ready to land.Jul 14 2017, 2:13 PM
This revision was automatically updated to reflect the committed changes.