hgext/narrow/narrowwirepeer.py
changeset 39934 a24f4638d6c1
parent 39933 d5498db5f86a
child 40070 8feae5b989bc
--- 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):