sapling/eden/mononoke/cmdlib
Harvey Hunt 3b7978c437 mononoke: cmdlib: Fix default cachelib size crash
Summary:
D24761026 (caa684450f) formatted the default cachelib size with the specifier
`{:3}`. This specifier pads the left side of the string with spaces if there
are less than 3 digits.

Unfortunately, this means that attempting to parse the string into an `f64`
fails. Here's a minimal example:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=11a1e819f9919f7d02565cb8fa561b85

Remove the format specifier and instead call `.to_string()`.

Reviewed By: ahornby

Differential Revision: D25302079

fbshipit-source-id: 461dd628a312a967f6cf5958d2e5d51b72b0ffd8
2020-12-03 05:48:31 -08:00
..
src mononoke: cmdlib: Fix default cachelib size crash 2020-12-03 05:48:31 -08:00
x_repo mononoke: remove the need to pass in cachelib settings twice 2020-12-02 07:27:23 -08:00
Cargo.toml mononoke: remove the need to pass in cachelib settings twice 2020-12-02 07:27:23 -08:00