##// END OF EJS Templates
perf: quiet stdout output in perf::unbundle...
marmoute -
r50339:52f31b66 default
parent child Browse files
Show More
@@ -2670,6 +2670,7 b' def perf_unbundle(ui, repo, fname, **opt'
2670 bundle = [None, None]
2670 bundle = [None, None]
2671 orig_quiet = repo.ui.quiet
2671 orig_quiet = repo.ui.quiet
2672 try:
2672 try:
2673 repo.ui.quiet = True
2673 with open(fname, mode="rb") as f:
2674 with open(fname, mode="rb") as f:
2674
2675
2675 def noop_report(*args, **kwargs):
2676 def noop_report(*args, **kwargs):
@@ -2699,6 +2700,7 b' def perf_unbundle(ui, repo, fname, **opt'
2699 timer(apply, setup=setup)
2700 timer(apply, setup=setup)
2700 fm.end()
2701 fm.end()
2701 finally:
2702 finally:
2703 repo.ui.quiet == orig_quiet
2702 gen, tr = bundle
2704 gen, tr = bundle
2703 if tr is not None:
2705 if tr is not None:
2704 tr.abort()
2706 tr.abort()
@@ -395,9 +395,6 b' Test pre-run feature'
395 $ hg bundle --exact --rev 'last(all(), 5)' last-5.hg
395 $ hg bundle --exact --rev 'last(all(), 5)' last-5.hg
396 4 changesets found
396 4 changesets found
397 $ hg perf::unbundle last-5.hg
397 $ hg perf::unbundle last-5.hg
398 adding changesets
399 adding manifests
400 adding file changes
401
398
402
399
403 test profile-benchmark option
400 test profile-benchmark option
General Comments 0
You need to be logged in to leave comments. Login now