mercurial/wireprotov2server.py
changeset 40122 9b19b8ce3804
parent 40049 39074a35f7db
child 40129 293835e0fff7
--- 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),
     }