changeset 38409:ce65c25dc161

synthrepo: close progress topics Differential Revision: https://phab.mercurial-scm.org/D3810
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 18 Jun 2018 15:17:27 -0700
parents 6540333acb95
children 1c5c4a5dd86d
files contrib/synthrepo.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/synthrepo.py	Mon Jun 18 15:17:10 2018 -0700
+++ b/contrib/synthrepo.py	Mon Jun 18 15:17:27 2018 -0700
@@ -219,6 +219,7 @@
             filesadded[fileadds] += 1
             dirsadded[diradds] += 1
             filesremoved[fileremoves] += 1
+        progress.complete()
 
     invchildren = zerodict()
 
@@ -483,6 +484,7 @@
         heads.add(repo.changelog.rev(newnode))
         heads.discard(r1)
         heads.discard(r2)
+    progress.complete()
 
     lock.release()
     wlock.release()