# HG changeset patch # User Pierre-Yves David # Date 1520024853 18000 # Node ID c0b6a95b94b9b5fee2de54cf08e90da99a7cd580 # Parent bee9fee8f36b3b1ef042d3f67ed7254164b974e6 pure: make sure what we expect to be list are list In the pure version, some of these object would be generator. diff -r bee9fee8f36b -r c0b6a95b94b9 hgext3rd/evolve/obscache.py --- a/hgext3rd/evolve/obscache.py Sun Jan 21 16:55:02 2018 -0500 +++ b/hgext3rd/evolve/obscache.py Fri Mar 02 16:07:33 2018 -0500 @@ -225,6 +225,8 @@ self.clear(reset=True) starttime = timer() + revs = list(revs) + obsmarkers = list(obsmarkers) self._updatefrom(repo, revs, obsmarkers) duration = timer() - starttime repo.ui.log('evoext-cache', 'updated %s in %.4f seconds (%sr, %so)\n', diff -r bee9fee8f36b -r c0b6a95b94b9 tests/test-wireproto.t --- a/tests/test-wireproto.t Sun Jan 21 16:55:02 2018 -0500 +++ b/tests/test-wireproto.t Fri Mar 02 16:07:33 2018 -0500 @@ -195,7 +195,7 @@ $ cat hg.pid >> $DAEMON_PIDS $ curl -s http://localhost:$HGPORT/?cmd=capabilities - _evoext_getbundle_obscommon 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 changegroupsubset compression=zstd,zlib getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-eol) + _evoext_getbundle_obscommon 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 changegroupsubset compression=*zlib getbundle httpheader=1024 httpmediatype=0.1rx,0.1tx,0.2tx known lookup pushkey streamreqs=generaldelta,revlogv1 unbundle=HG10GZ,HG10BZ,HG10UN unbundlehash (no-eol) (glob) Check we cannot use pushkey for marker exchange anymore