mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
efcc5d91a7
Summary: This and following diff will refactor CheckoutPlan creation. Right now we create CheckoutPlan from manifest diff and then manipulate it with methods like `with_sparse_profile` to adjust plan for different cases. Those 'adjustment' do not work great with the structure of CheckoutPlan, for example `with_sparse_profile` has to create temporary HashSet just to index files in CheckoutPlan We are going to add more adjustments in the future (for example, checkout --clean), and will run into same issues with current structure of CheckoutPlan To avoid those issues, we are going to refactor this code, so that instead of Diff -> CheckoutPlan -> adjustments, we are going to have Diff -> ActionMap -> adjustments -> CheckoutPlan The structure of CheckoutPlan is still good for it's direct purpose (execution), but all the 'changes' to the plan will be done in ActionMap instead. Reviewed By: DurhamG Differential Revision: D27980390 fbshipit-source-id: 403f371fd2fe7760984925a38429e1bfb88d8e3f |
||
---|---|---|
.. | ||
fs | ||
hg-server | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
Eden.project.toml |