# HG changeset patch # User Pierre-Yves David # Date 1553617614 -3600 # Node ID fd8d13ea1bcc1bed696a70a9d2b72ce94f94158e # Parent c3a16c282dd8f0ec094d0129fda6e82b36da9890 debugdiscovery: only list common heads on verbose The list of common heads is only part of the useful information. In addition on repository with many heads, the information is very not helpful (just fill a couple of screen with hash). As a result we hide it behind a --verbose flag. diff -r c3a16c282dd8 -r fd8d13ea1bcc mercurial/debugcommands.py --- a/mercurial/debugcommands.py Tue Mar 26 17:26:11 2019 +0100 +++ b/mercurial/debugcommands.py Tue Mar 26 17:26:54 2019 +0100 @@ -849,8 +849,9 @@ ui.write((" common: %(nb-revs-common)9d\n") % data) ui.write((" missing: %(nb-revs-missing)9d\n") % data) - ui.write(("common heads: %s\n") % - " ".join(sorted(short(n) for n in common))) + if ui.verbose: + ui.write(("common heads: %s\n") % + " ".join(sorted(short(n) for n in common))) _chunksize = 4 << 10