mercurial/revset.py
changeset 47437 7a430116f639
parent 47275 ba673c821b9d
child 48875 6000f5b25c9b
child 49276 3b102efde517
--- a/mercurial/revset.py	Fri Jun 18 14:17:43 2021 -0700
+++ b/mercurial/revset.py	Fri Jun 18 15:48:51 2021 -0700
@@ -1872,9 +1872,10 @@
             revs = [repo.lookup(rev) for rev in revs]
         other = hg.peer(repo, {}, dest)
         try:
-            repo.ui.pushbuffer()
-            outgoing = discovery.findcommonoutgoing(repo, other, onlyheads=revs)
-            repo.ui.popbuffer()
+            with repo.ui.silent():
+                outgoing = discovery.findcommonoutgoing(
+                    repo, other, onlyheads=revs
+                )
         finally:
             other.close()
         missing.update(outgoing.missing)