comparison 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
comparison
equal deleted inserted replaced
4642:a7c4f163656b 4643:77f3699e711e
189 pushing to ssh://user@dummy/server 189 pushing to ssh://user@dummy/server
190 running python "*/dummyssh" *user@dummy* *hg -R server serve --stdio* (glob) 190 running python "*/dummyssh" *user@dummy* *hg -R server serve --stdio* (glob)
191 sending hello command 191 sending hello command
192 sending between command 192 sending between command
193 remote: * (glob) 193 remote: * (glob)
194 remote: capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_obshashrange_v1 batch * (glob) 194 remote: capabilities: _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch * (glob)
195 remote: 1 195 remote: 1
196 sending protocaps command 196 sending protocaps command
197 query 1; heads 197 query 1; heads
198 sending batch command 198 sending batch command
199 searching for changes 199 searching for changes
318 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f --debug (glob) 318 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> push -f --debug (glob)
319 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> running python "*/dummyssh" *user@dummy* *hg -R server serve --stdio* (glob) 319 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> running python "*/dummyssh" *user@dummy* *hg -R server serve --stdio* (glob)
320 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending hello command (glob) 320 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending hello command (glob)
321 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending between command (glob) 321 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending between command (glob)
322 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: * (glob) 322 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: * (glob)
323 * @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) 323 * @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)
324 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: 1 (glob) 324 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> remote: 1 (glob)
325 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending protocaps command (glob) 325 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending protocaps command (glob)
326 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 1; heads (glob) 326 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 1; heads (glob)
327 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending batch command (glob) 327 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending batch command (glob)
328 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> taking quick initial sample (glob) 328 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> taking quick initial sample (glob)
1174 > evolution.exchange=no 1174 > evolution.exchange=no
1175 > EOF 1175 > EOF
1176 1176
1177 $ hg debugcapabilities ssh://user@dummy/with-evolve | grep _evoext 1177 $ hg debugcapabilities ssh://user@dummy/with-evolve | grep _evoext
1178 _evoext_getbundle_obscommon 1178 _evoext_getbundle_obscommon
1179 _evoext_obshash_0
1180 _evoext_obshash_1
1181 _evoext_obshashrange_v1 1179 _evoext_obshashrange_v1
1182 $ hg debugcapabilities ssh://user@dummy/without-evolve | grep _evoext 1180 $ hg debugcapabilities ssh://user@dummy/without-evolve | grep _evoext
1183 [1] 1181 [1]
1184 1182
1185 Using http: 1183 Using http:
1194 $ hg serve --web-conf web.conf -p $HGPORT -d --pid-file hg.pid 1192 $ hg serve --web-conf web.conf -p $HGPORT -d --pid-file hg.pid
1195 $ cat hg.pid >> $DAEMON_PIDS 1193 $ cat hg.pid >> $DAEMON_PIDS
1196 1194
1197 $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext 1195 $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext
1198 _evoext_getbundle_obscommon 1196 _evoext_getbundle_obscommon
1199 _evoext_obshash_0
1200 _evoext_obshash_1
1201 _evoext_obshashrange_v1 1197 _evoext_obshashrange_v1
1202 $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext 1198 $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext
1203 [1] 1199 [1]
1204 1200
1205 $ killdaemons.py 1201 $ killdaemons.py
1212 1208
1213 $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext 1209 $ hg debugcapabilities http://localhost:$HGPORT/without-evolve| grep _evoext
1214 [1] 1210 [1]
1215 $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext 1211 $ hg debugcapabilities http://localhost:$HGPORT/with-evolve| grep _evoext
1216 _evoext_getbundle_obscommon 1212 _evoext_getbundle_obscommon
1217 _evoext_obshash_0
1218 _evoext_obshash_1
1219 _evoext_obshashrange_v1 1213 _evoext_obshashrange_v1
1220 1214
1221 $ killdaemons.py 1215 $ killdaemons.py