changeset 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
files mercurial/debugcommands.py tests/test-setdiscovery.t
diffstat 2 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/debugcommands.py	Tue Mar 26 17:25:22 2019 +0100
+++ b/mercurial/debugcommands.py	Tue Mar 26 17:26:11 2019 +0100
@@ -851,10 +851,6 @@
 
     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
 
--- a/tests/test-setdiscovery.t	Tue Mar 26 17:25:22 2019 +0100
+++ b/tests/test-setdiscovery.t	Tue Mar 26 17:26:11 2019 +0100
@@ -57,7 +57,6 @@
     common:                      7
     missing:                     0
   common heads: 01241442b3c2 b5714e113bc0
-  local is subset
   
   % -- a -> b set
   comparing with b
@@ -78,7 +77,6 @@
     common:                      7
     missing:                     0
   common heads: 01241442b3c2 b5714e113bc0
-  local is subset
   
   % -- a -> b set (tip only)
   comparing with b
@@ -118,7 +116,6 @@
     common:                      7
     missing:                     8
   common heads: 01241442b3c2 b5714e113bc0
-  remote is subset
   
   % -- b -> a set
   comparing with a
@@ -139,7 +136,6 @@
     common:                      7
     missing:                     8
   common heads: 01241442b3c2 b5714e113bc0
-  remote is subset
   
   % -- b -> a set (tip only)
   comparing with a
@@ -160,7 +156,6 @@
     common:                      7
     missing:                     8
   common heads: 01241442b3c2 b5714e113bc0
-  remote is subset
 
 
 Many new: