diff -r d5498db5f86a -r a24f4638d6c1 hgext/narrow/narrowcommands.py --- 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]