Show More
@@ -646,11 +646,12 b' def _emit2(repo, entries):' | |||||
646 |
|
646 | |||
647 | max_linkrev = len(repo) |
|
647 | max_linkrev = len(repo) | |
648 | file_count = totalfilesize = 0 |
|
648 | file_count = totalfilesize = 0 | |
649 | # record the expected size of every file |
|
649 | with util.nogc(): | |
650 | for k, vfs, e in entries: |
|
650 | # record the expected size of every file | |
651 |
for f in e |
|
651 | for k, vfs, e in entries: | |
652 | file_count += 1 |
|
652 | for f in e.files(): | |
653 | totalfilesize += f.file_size(vfs) |
|
653 | file_count += 1 | |
|
654 | totalfilesize += f.file_size(vfs) | |||
654 |
|
655 | |||
655 | progress = repo.ui.makeprogress( |
|
656 | progress = repo.ui.makeprogress( | |
656 | _(b'bundle'), total=totalfilesize, unit=_(b'bytes') |
|
657 | _(b'bundle'), total=totalfilesize, unit=_(b'bytes') |
General Comments 0
You need to be logged in to leave comments.
Login now