# HG changeset patch # User Anton Shestakov # Date 1594432914 -28800 # Node ID 7bb9ed141238a056e6845f51ea4b8eac2ce2689c # Parent d171815d2618f3481e49e8e72644c83f221ce1a5 tests: use hg debugcapabilities instead of curl diff -r d171815d2618 -r 7bb9ed141238 tests/test-wireproto.t --- a/tests/test-wireproto.t Fri Jul 10 12:05:25 2020 +0800 +++ b/tests/test-wireproto.t Sat Jul 11 10:01:54 2020 +0800 @@ -194,8 +194,9 @@ $ hg serve -R server -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log --config experimental.evolution.obsdiscovery=no $ cat hg.pid >> $DAEMON_PIDS - $ curl -s http://localhost:$HGPORT/?cmd=capabilities - _evoext_getbundle_obscommon _evoext_obshashrange_v1 batch branchmap bundle2=HG20%0Abookmarks%0Achangegroup%3D01%2C02%0Acheckheads%3Drelated%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 compression=*zlib getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1,sparserevlog unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-eol) (glob) + $ hg debugcapabilities http://localhost:$HGPORT | grep _evoext + _evoext_getbundle_obscommon + _evoext_obshashrange_v1 Check we cannot use pushkey for marker exchange anymore