diff tests/test-discovery-obshashrange.t @ 4643:77f3699e711e

obsdiscovery: drop `obshash` discovery protocol (issue6136) The protocol has been superseeded by stablerange for a long time. It is untested and more and more buggy. Since this is deprecated experimental code in an experimental code, we drop it. We keep the underlying computation and debug command around for now. They might still be useful to looks at repositories
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 27 May 2019 01:53:36 +0200
parents 2db0aca03a88
children 63a816beee7e f162cafc5000
line wrap: on
line diff
--- a/tests/test-discovery-obshashrange.t	Thu May 09 09:42:51 2019 -0700
+++ b/tests/test-discovery-obshashrange.t	Mon May 27 01:53:36 2019 +0200
@@ -191,7 +191,7 @@
   sending hello command
   sending between command
   remote: * (glob)
-  remote: capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (glob)
+  remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (glob)
   remote: 1
   sending protocaps command
   query 1; heads
@@ -320,7 +320,7 @@
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending hello command (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending between command (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: * (glob)
-  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob)
+  * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Adigests%3Dmd5%2Csha1%2Csha512%0Aerror%3Dabort%2Cunsupportedcontent%2Cpushraced%2Cpushkey%0Ahgtagsfnodes%0Alistkeys%0Aobsmarkers%3DV0%2CV1%0Aphases%3Dheads%0Apushkey%0Aremote-changegroup%3Dhttp%2Chttps%0Arev-branch-cache%0Astream%3Dv2 changegroupsubset getbundle known lookup protocaps pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: 1 (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending protocaps command (glob)
   * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 1; heads (glob)
@@ -1176,8 +1176,6 @@
 
   $ hg debugcapabilities ssh://user@dummy/with-evolve | grep _evoext
     _evoext_getbundle_obscommon
-    _evoext_obshash_0
-    _evoext_obshash_1
     _evoext_obshashrange_v1
   $ hg debugcapabilities ssh://user@dummy/without-evolve | grep _evoext
   [1]
@@ -1196,8 +1194,6 @@
 
   $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext
     _evoext_getbundle_obscommon
-    _evoext_obshash_0
-    _evoext_obshash_1
     _evoext_obshashrange_v1
   $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext
   [1]
@@ -1214,8 +1210,6 @@
   [1]
   $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext
     _evoext_getbundle_obscommon
-    _evoext_obshash_0
-    _evoext_obshash_1
     _evoext_obshashrange_v1
 
   $ killdaemons.py