Skip to content

Commit

Permalink
fetch: don't clear pbars
Browse files Browse the repository at this point in the history
There is more we can do during the `Fetching` stage, but it will
require additional tweaks, so just keeping it simple here.

Similar to #9974
  • Loading branch information
efiop committed Sep 25, 2023
1 parent 18b4d61 commit 2e1166d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dvc/repo/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def fetch( # noqa: C901, PLR0913
with ui.progress(
desc="Collecting",
unit="entry",
leave=True,
) as pb:
data = collect(
indexes.values(),
Expand All @@ -156,7 +157,8 @@ def fetch( # noqa: C901, PLR0913

with ui.progress(
desc="Fetching",
unit="file",
bar_format="{desc}",
leave=True,
) as pb:
try:
fetch_transferred, fetch_failed = ifetch(
Expand Down

0 comments on commit 2e1166d

Please sign in to comment.