changegroup: clear progress callback after changelog processing
authorMartin von Zweigbergk <martinvonz@google.com>
Mon, 29 Feb 2016 09:26:43 -0800
changeset 28363 1f94ef2bd88d
parent 28361 277a22cd8741
child 28364 f1460af18c50
changegroup: clear progress callback after changelog processing The progress callback is replaced by one for manifests after changelog processing is done, but let's not depend on manifests replacing the value and instead explicitly clear it.
mercurial/changegroup.py
--- a/mercurial/changegroup.py	Sun Feb 28 22:51:07 2016 -0800
+++ b/mercurial/changegroup.py	Mon Feb 29 09:26:43 2016 -0800
@@ -376,6 +376,7 @@
                 clend = len(cl)
                 changesets = clend - clstart
                 repo.ui.progress(_('changesets'), None)
+                self.callback = None
 
                 # pull off the manifest group
                 repo.ui.status(_("adding manifests\n"))