Patchwork D3810: synthrepo: close progress topics

login
register
mail settings
Submitter phabricator
Date June 19, 2018, 11:18 a.m.
Message ID <c18c1f7e3d4461527bfb1fe9352d7658@localhost.localdomain>
Download mbox | patch
Permalink /patch/32327/
State Not Applicable
Headers show

Comments

phabricator - June 19, 2018, 11:18 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGce65c25dc161: synthrepo: close progress topics (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3810?vs=9212&id=9226

REVISION DETAIL
  https://phab.mercurial-scm.org/D3810

AFFECTED FILES
  contrib/synthrepo.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/contrib/synthrepo.py b/contrib/synthrepo.py
--- a/contrib/synthrepo.py
+++ b/contrib/synthrepo.py
@@ -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()