Skip to content

Commit

Permalink
push: use set_size instead of set_total
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Dec 22, 2023
1 parent 01f49b7 commit 470c50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dvc/repo/push.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 470c50a

Please sign in to comment.