From 470c50a22b0ef361760fe510ce0b527b58f5b980 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Fri, 22 Dec 2023 07:55:00 +0200 Subject: [PATCH] push: use set_size instead of set_total From https://github.com/iterative/dvc/pull/10191 --- dvc/repo/push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dvc/repo/push.py b/dvc/repo/push.py index d2cb673b9..4a6d49a19 100644 --- a/dvc/repo/push.py +++ b/dvc/repo/push.py @@ -12,7 +12,7 @@ def _rebuild(idx, path, fs, cb): new = DataIndex() items = list(idx.items()) - cb.set_total(len(items)) + cb.set_size(len(items)) for key, entry in items: if entry.meta and entry.meta.isdir: meta = Meta(isdir=True)