hgext/narrow/narrowcommands.py
changeset 39934 a24f4638d6c1
parent 39933 d5498db5f86a
child 39963 693dda764efe
--- a/hgext/narrow/narrowcommands.py	Sun Sep 30 03:42:35 2018 +0530
+++ b/hgext/narrow/narrowcommands.py	Sun Sep 30 03:45:51 2018 +0530
@@ -32,10 +32,6 @@
     wireprotoserver,
 )
 
-from . import (
-    narrowwirepeer,
-)
-
 table = {}
 command = registrar.command(table)
 
@@ -148,7 +144,7 @@
     kwargs['excludepats'] = exclude
     # calculate known nodes only in ellipses cases because in non-ellipses cases
     # we have all the nodes
-    if narrowwirepeer.ELLIPSESCAP in pullop.remote.capabilities():
+    if wireprotoserver.ELLIPSESCAP in pullop.remote.capabilities():
         kwargs['known'] = [node.hex(ctx.node()) for ctx in
                            repo.set('::%ln', pullop.common)
                            if ctx.node() != node.nullid]