diff -r 90ca4986616c -r 038bcb759b75 mercurial/wireprotoserver.py --- a/mercurial/wireprotoserver.py Thu Feb 01 17:12:07 2018 -0800 +++ b/mercurial/wireprotoserver.py Wed Feb 07 20:22:44 2018 -0800 @@ -192,7 +192,7 @@ break # Now find an agreed upon compression format. - for engine in wireproto.supportedcompengines(self._ui, self, + for engine in wireproto.supportedcompengines(self._ui, util.SERVERROLE): if engine.wireprotosupport().name in compformats: opts = {}