hgext/narrow/narrowwirepeer.py
changeset 40074 f7011b44d205
parent 40072 1ea80ac13f19
child 40075 ad8d8dc9be3f
--- a/hgext/narrow/narrowwirepeer.py	Fri Oct 05 22:19:19 2018 +0300
+++ b/hgext/narrow/narrowwirepeer.py	Fri Oct 05 22:31:12 2018 +0300
@@ -15,7 +15,6 @@
     match as matchmod,
     narrowspec,
     pycompat,
-    wireprotoserver,
     wireprototypes,
     wireprotov1peer,
     wireprotov1server,
@@ -28,9 +27,9 @@
 def addnarrowcap(orig, repo, proto):
     """add the narrow capability to the server"""
     caps = orig(repo, proto)
-    caps.append(wireprotoserver.NARROWCAP)
+    caps.append(wireprototypes.NARROWCAP)
     if repo.ui.configbool('experimental', 'narrowservebrokenellipses'):
-        caps.append(wireprotoserver.ELLIPSESCAP)
+        caps.append(wireprototypes.ELLIPSESCAP)
     return caps
 
 def reposetup(repo):