--- a/mercurial/changegroup.py Sat Jun 16 08:22:10 2018 +0530
+++ b/mercurial/changegroup.py Sun Jun 17 22:13:41 2018 -0700
@@ -246,7 +246,7 @@
self.manifestheader()
deltas = self.deltaiter()
repo.manifestlog._revlog.addgroup(deltas, revmap, trp)
- prog.update(None)
+ prog.complete()
self.callback = None
def apply(self, repo, tr, srctype, url, targetphase=phases.draft,
@@ -309,7 +309,7 @@
config='warn-empty-changegroup')
clend = len(cl)
changesets = clend - clstart
- progress.update(None)
+ progress.complete()
self.callback = None
# pull off the manifest group