Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/debugcommands.py @ 42033:c3a16c282dd8
debugdiscovery: drop duplicated information
The old line informing about the local being a superset or subset of the remote
is redundant with the newly introduced data. So we drop it.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 26 Mar 2019 17:26:11 +0100 |
parents | 63165e4a76da |
children | fd8d13ea1bcc |
comparison
equal
deleted
inserted
replaced
42032:63165e4a76da | 42033:c3a16c282dd8 |
---|---|
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 ui.write(("common heads: %s\n") % |
853 " ".join(sorted(short(n) for n in common))) | 853 " ".join(sorted(short(n) for n in common))) |
854 if lheads <= common: | |
855 ui.write(("local is subset\n")) | |
856 elif rheads <= common: | |
857 ui.write(("remote is subset\n")) | |
858 | 854 |
859 _chunksize = 4 << 10 | 855 _chunksize = 4 << 10 |
860 | 856 |
861 @command('debugdownload', | 857 @command('debugdownload', |
862 [ | 858 [ |