diff --git a/mercurial/exchangev2.py b/mercurial/exchangev2.py --- a/mercurial/exchangev2.py +++ b/mercurial/exchangev2.py @@ -320,6 +320,9 @@ ml = repo.manifestlog fnodes = collections.defaultdict(dict) + progress = repo.ui.makeprogress( + _('scanning manifests'), total=len(manifestnodes)) + for manifestnode in manifestnodes: m = ml.get(b'', manifestnode) @@ -334,6 +337,8 @@ for path, fnode in md.items(): fnodes[path].setdefault(fnode, manifestnode) + progress.increment() + return fnodes def _fetchfiles(repo, tr, remote, fnodes, linkrevs):