--- a/mercurial/exchangev2.py Sun Oct 06 17:45:05 2019 -0400
+++ b/mercurial/exchangev2.py Sun Oct 06 17:59:15 2019 -0400
@@ -607,7 +607,7 @@
progress = repo.ui.makeprogress(
_(b'files'),
unit=_(b'chunks'),
- total=sum(len(v) for v in fnodes.itervalues()),
+ total=sum(len(v) for v in pycompat.itervalues(fnodes)),
)
# TODO make batch size configurable
@@ -706,7 +706,7 @@
progress = repo.ui.makeprogress(
_(b'files'),
unit=_(b'chunks'),
- total=sum(len(v) for v in fnodes.itervalues()),
+ total=sum(len(v) for v in pycompat.itervalues(fnodes)),
)
commandmeta = remote.apidescriptor[b'commands'][b'filesdata']