diff mercurial/similar.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 cd196be26cb7
children 59c9d3cc810f
line wrap: on
line diff
--- a/mercurial/similar.py	Sat Jun 16 08:22:10 2018 +0530
+++ b/mercurial/similar.py	Sun Jun 17 22:13:41 2018 -0700
@@ -44,7 +44,7 @@
                 break
 
     # Done
-    progress.update(None)
+    progress.complete()
 
 def _ctxdata(fctx):
     # lazily load text