mercurial/changegroup.py
changeset 38379 ef692614e601
parent 38352 83534c4ec58b
child 38388 daa08d45740f
--- 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