diff -r 73fef626dae3 -r 9b19b8ce3804 mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py Mon Oct 08 16:27:40 2018 -0700 +++ b/mercurial/wireprotov2server.py Mon Oct 08 17:20:41 2018 -0700 @@ -20,7 +20,6 @@ error, narrowspec, pycompat, - util, wireprotoframing, wireprototypes, ) @@ -486,15 +485,8 @@ These capabilities are distinct from the capabilities for version 1 transports. """ - compression = [] - for engine in wireprototypes.supportedcompengines(repo.ui, util.SERVERROLE): - compression.append({ - b'name': engine.wireprotosupport().name, - }) - caps = { 'commands': {}, - 'compression': compression, 'framingmediatypes': [FRAMINGTYPE], 'pathfilterprefixes': set(narrowspec.VALID_PREFIXES), }