contrib/perf.py
changeset 49470 52f31b660d38
parent 49469 2896ed067d51
child 49471 cd21f2b4226f
--- a/contrib/perf.py	Thu Aug 25 05:10:55 2022 +0200
+++ b/contrib/perf.py	Thu Aug 25 05:11:48 2022 +0200
@@ -2670,6 +2670,7 @@
         bundle = [None, None]
         orig_quiet = repo.ui.quiet
         try:
+            repo.ui.quiet = True
             with open(fname, mode="rb") as f:
 
                 def noop_report(*args, **kwargs):
@@ -2699,6 +2700,7 @@
                 timer(apply, setup=setup)
                 fm.end()
         finally:
+            repo.ui.quiet == orig_quiet
             gen, tr = bundle
             if tr is not None:
                 tr.abort()