From 18b4d610d6862eb7e35d93233ac315e65516121f Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Mon, 25 Sep 2023 22:59:54 +0300 Subject: [PATCH] checkout: tweak messages and don't clear pbars --- dvc/repo/checkout.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dvc/repo/checkout.py b/dvc/repo/checkout.py index ef0988636..cf9ae35e1 100644 --- a/dvc/repo/checkout.py +++ b/dvc/repo/checkout.py @@ -140,7 +140,8 @@ def checkout( # noqa: C901 with ui.progress( unit="entry", - desc="Building data index", + desc="Building workspace index", + leave=True, ) as pb: old = build_data_index( view, @@ -155,6 +156,7 @@ def checkout( # noqa: C901 with ui.progress( desc="Comparing indexes", unit="entry", + leave=True, ) as pb: diff = compare(old, new, relink=relink, delete=True, callback=pb.as_callback()) @@ -175,7 +177,8 @@ def checkout( # noqa: C901 with ui.progress( unit="file", - desc="Checkout", + desc="Applying changes", + leave=True, ) as pb: apply( diff,