Rename _prefetchtrees() to prefetchtrees(). Also change it to throw a
new MissingNodesError() exception type when it fails to download some nodes.
This makes it possible for callers to easily distinguish missing nodes from
other unexpected errors.
Details
Details
- Reviewers
durham - Group Reviewers
Restricted Project - Commits
- rFBHGX6f34fada90d4: treemanifest: expose prefetchtrees() publicly
Confirmed the existing unit tests pass. test-treemanifest-infinitepush.t
exercises the MissingNodesError code path.
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Branch
- default
- Lint
Lint OK - Unit
Unit Tests OK
Event Timeline
Comment Actions
@singhsrb is doing some refactors in this area, so you may want to coordinate with him on landing.