mercurial/wireprotov1peer.py
changeset 52497 61f70a6ab645
parent 52496 e123c8a26a70
child 52638 dc36535a5edc
--- a/mercurial/wireprotov1peer.py	Thu Oct 24 20:26:25 2024 -0400
+++ b/mercurial/wireprotov1peer.py	Thu Oct 24 20:35:02 2024 -0400
@@ -25,7 +25,6 @@
 )
 from .interfaces import (
     repository,
-    util as interfaceutil,
 )
 from .utils import hashutil
 
@@ -321,10 +320,9 @@
                     f.set_result(result)
 
 
-@interfaceutil.implementer(
-    repository.ipeercommands, repository.ipeerlegacycommands
-)
-class wirepeer(repository.peer):
+class wirepeer(
+    repository.peer, repository.ipeercommands, repository.ipeerlegacycommands
+):
     """Client-side interface for communicating with a peer repository.
 
     Methods commonly call wire protocol commands of the same name.