Mercurial > public > mercurial-scm > hg-stable
diff mercurial/setdiscovery.py @ 38379:ef692614e601
progress: hide update(None) in a new complete() method
update(None) seemed a bit cryptic.
Differential Revision: https://phab.mercurial-scm.org/D3774
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sun, 17 Jun 2018 22:13:41 -0700 |
parents | 9e70690a21ac |
children | 5b32b3c618b2 |
line wrap: on
line diff
--- a/mercurial/setdiscovery.py Sat Jun 16 08:22:10 2018 +0530 +++ b/mercurial/setdiscovery.py Sun Jun 17 22:13:41 2018 -0700 @@ -252,7 +252,7 @@ # return any heads in that case, so discard that result.discard(nullrev) elapsed = util.timer() - start - progress.update(None) + progress.complete() ui.debug("%d total queries in %.4fs\n" % (roundtrips, elapsed)) msg = ('found %d common and %d unknown server heads,' ' %d roundtrips in %.4fs\n')