Mercurial > hg
comparison mercurial/debugcommands.py @ 42034:fd8d13ea1bcc
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 26 Mar 2019 17:26:54 +0100 |
parents | c3a16c282dd8 |
children | eec20025ada3 |
comparison
equal
deleted
inserted
replaced
42033:c3a16c282dd8 | 42034:fd8d13ea1bcc |
---|---|
847 ui.write((" unknown: %(nb-remote-unknown)9d\n") % data) | 847 ui.write((" unknown: %(nb-remote-unknown)9d\n") % data) |
848 ui.write(("local changesets: %(nb-revs)9d\n") % data) | 848 ui.write(("local changesets: %(nb-revs)9d\n") % data) |
849 ui.write((" common: %(nb-revs-common)9d\n") % data) | 849 ui.write((" common: %(nb-revs-common)9d\n") % data) |
850 ui.write((" missing: %(nb-revs-missing)9d\n") % data) | 850 ui.write((" missing: %(nb-revs-missing)9d\n") % data) |
851 | 851 |
852 ui.write(("common heads: %s\n") % | 852 if ui.verbose: |
853 " ".join(sorted(short(n) for n in common))) | 853 ui.write(("common heads: %s\n") % |
854 " ".join(sorted(short(n) for n in common))) | |
854 | 855 |
855 _chunksize = 4 << 10 | 856 _chunksize = 4 << 10 |
856 | 857 |
857 @command('debugdownload', | 858 @command('debugdownload', |
858 [ | 859 [ |