sapling/eden/scm/edenscmnative/bindings
Muir Manders e24a3a8f0c nativecheckout: improve progress indicator
Summary:
The "Calculating" step corresponds to comparing manifests to determine what files have changed. Previously it was just a spinner with no concept of progress. I've tweaked it to display the current tree depth as we are planning. This gives the user something to derive progress from. Depth refers to the directory depth as the checkout plan breadth-first searches across the current tree and destination tree. The time required to diff the two trees is normally proprotional to the depth of the repo, so this is a decent indicator.

Note that there is no "total" set for the progress bar since the max or average depth of a repo doesn't seem readily available. We can add that in the future to provide a true progress bar.

Reviewed By: andll

Differential Revision: D29948994

fbshipit-source-id: bdb5d7a868345d66b9812c2e56159bbf66e6daff
2021-07-29 16:25:32 -07:00
..
modules nativecheckout: improve progress indicator 2021-07-29 16:25:32 -07:00
src send additional data identifying client 2021-06-07 06:38:37 -07:00
Cargo.toml send additional data identifying client 2021-06-07 06:38:37 -07:00
dirs.pyi begin adding some type stubs for the Rust Python bindings 2020-08-11 21:45:04 -07:00