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