debug-delta-find: introduce a quiet mode
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 28 Jul 2022 15:41:45 +0200
changeset 49433 a3ac3f1623dd
parent 49432 b4535c88a05b
child 49438 44d4fd09982f
debug-delta-find: introduce a quiet mode In quiet mode, we only print the summary of the search and skip the individual steps.
mercurial/debugcommands.py
--- a/mercurial/debugcommands.py	Wed Aug 17 12:03:55 2022 -0400
+++ b/mercurial/debugcommands.py	Thu Jul 28 15:41:45 2022 +0200
@@ -1021,7 +1021,7 @@
     deltacomputer = deltautil.deltacomputer(
         revlog,
         write_debug=ui.write,
-        debug_search=True,
+        debug_search=not ui.quiet,
     )
 
     node = revlog.node(rev)