# HG changeset patch # User Pierre-Yves David # Date 2019-03-26 16:26:11 # Node ID c3a16c282dd8f0ec094d0129fda6e82b36da9890 # Parent 63165e4a76dab7f25cb19dbc7afe900c62de1a52 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. diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py --- a/mercurial/debugcommands.py +++ b/mercurial/debugcommands.py @@ -851,10 +851,6 @@ def debugdiscovery(ui, repo, remoteurl=" ui.write(("common heads: %s\n") % " ".join(sorted(short(n) for n in common))) - if lheads <= common: - ui.write(("local is subset\n")) - elif rheads <= common: - ui.write(("remote is subset\n")) _chunksize = 4 << 10 diff --git a/tests/test-setdiscovery.t b/tests/test-setdiscovery.t --- a/tests/test-setdiscovery.t +++ b/tests/test-setdiscovery.t @@ -57,7 +57,6 @@ Small superset: common: 7 missing: 0 common heads: 01241442b3c2 b5714e113bc0 - local is subset % -- a -> b set comparing with b @@ -78,7 +77,6 @@ Small superset: common: 7 missing: 0 common heads: 01241442b3c2 b5714e113bc0 - local is subset % -- a -> b set (tip only) comparing with b @@ -118,7 +116,6 @@ Small superset: common: 7 missing: 8 common heads: 01241442b3c2 b5714e113bc0 - remote is subset % -- b -> a set comparing with a @@ -139,7 +136,6 @@ Small superset: common: 7 missing: 8 common heads: 01241442b3c2 b5714e113bc0 - remote is subset % -- b -> a set (tip only) comparing with a @@ -160,7 +156,6 @@ Small superset: common: 7 missing: 8 common heads: 01241442b3c2 b5714e113bc0 - remote is subset Many new: