sapling/eden
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
..
fs windows: manually detect file type 2021-07-29 16:25:32 -07:00
hg-server Remove target-based type checking in eden 2021-07-23 12:34:20 -07:00
integration make hg inform edenfs of newly created root manifests 2021-07-29 10:01:02 -07:00
locale
mononoke Update backup state in hg cloud upload command 2021-07-29 12:11:57 -07:00
scm nativecheckout: improve progress indicator 2021-07-29 16:25:32 -07:00
test_support fix systemd tests locally 2021-07-09 17:24:11 -07:00
test-data fix fsck snapshot integration tests 2021-07-14 16:20:04 -07:00
.gitignore
Eden.project.toml