mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
7be4b2ee1c
Summary: This fn is not used anywhere except tests, and its only difference from `backsync_all_latest` is in the fact that it accepts a limit. So let's rename `backsync_all_latest` into `backsync_latest` and make it accept a limit arg. I decided to use a custom enum instead of `Option` so that people don't have to open fn definition to understand what `BacksyncLimit::Limit(2)` or `BacksyncLimit::NoLimit` mean. Reviewed By: StanislavGlebik Differential Revision: D22187118 fbshipit-source-id: 6bd97bd6e6f3776e46c6031f775739ca6788ec8c |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |