--- a/mercurial/wireprotov2server.py Mon Apr 23 21:13:19 2018 +0900
+++ b/mercurial/wireprotov2server.py Sun Apr 22 11:54:10 2018 -0700
@@ -12,9 +12,6 @@
from .thirdparty import (
cbor,
)
-from .thirdparty.zope import (
- interface as zi,
-)
from . import (
encoding,
error,
@@ -24,6 +21,9 @@
wireprotoframing,
wireprototypes,
)
+from .utils import (
+ interfaceutil,
+)
FRAMINGTYPE = b'application/mercurial-exp-framing-0005'
@@ -340,7 +340,7 @@
return func(repo, proto, **args)
-@zi.implementer(wireprototypes.baseprotocolhandler)
+@interfaceutil.implementer(wireprototypes.baseprotocolhandler)
class httpv2protocolhandler(object):
def __init__(self, req, ui, args=None):
self._req = req