--- a/hgext/narrow/narrowwirepeer.py Sun Sep 30 03:42:35 2018 +0530
+++ b/hgext/narrow/narrowwirepeer.py Sun Sep 30 03:45:51 2018 +0530
@@ -14,8 +14,6 @@
wireprotov1server,
)
-ELLIPSESCAP = 'exp-ellipses-1'
-
def uisetup():
extensions.wrapfunction(wireprotov1server, '_capabilities', addnarrowcap)
@@ -24,7 +22,7 @@
caps = orig(repo, proto)
caps.append(wireprotoserver.NARROWCAP)
if repo.ui.configbool('experimental', 'narrowservebrokenellipses'):
- caps.append(ELLIPSESCAP)
+ caps.append(wireprotoserver.ELLIPSESCAP)
return caps
def reposetup(repo):