changeset 28363:1f94ef2bd88d

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.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 29 Feb 2016 09:26:43 -0800
parents 277a22cd8741
children f1460af18c50
files mercurial/changegroup.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"))