Previously we were relying on config values to determine when to send or not send tree and flat manifests. This resulted in complicated permutations to test. Let's remove these config values and always send trees if we have them. A future patch will do the same for flat manifests.
Details
Details
- Reviewers
phillco singhsrb - Group Reviewers
Restricted Project - Commits
- rFBHGX46bc44d9dbd9: treemanifest: remove sendtrees
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
tests/test-treemanifest-server.t | ||
---|---|---|
85 | This is the config that tells the server to reject any pushes that are flat manifests. This will be the last step in forcing our transition to tree only on the server. | |
treemanifest/__init__.py | ||
1107 | Yea, sharing code between extensions is a bit awkward right now. I definitely want to move all this common storage/utility stuff together at some point. |
If we are sending trees, is this relevant? Or am i missing something?