mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
10b233f180
Summary: I am planning to add Segmented Changelog to attributes. I am writing an integration test for an EdenApi endpoint that depends on Segmented Changelog and I would like to set it up to update on demand. When a request comes in for a commit that we haven't parsed for Segmented Changelog we want to update the structure on demand. This means that we probably need to fetch commits. This means that we want to pass the ChangesetFetcher to Segmented Changelog when it is built. Since Segmented Changelog fits well as an attribute we want the ChangesetFetcher as an attribute. I wonder how much thought has been given to attributes behaving as a dependency injector in the `guice` sense. Reviewed By: aslpavel Differential Revision: D23428201 fbshipit-source-id: 7003c018ba806fd657dd8f071e0e83d35058b10f |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |