diff mercurial/wireprotoserver.py @ 40074:f7011b44d205

wireprotoserver: move narrow capabilities to wireprototypes.py This is done because wireprotoserver import wireprotov1server, so you cannot import wireprotoserver in wireprotov1server to use the capabilities constants. Differential Revision: https://phab.mercurial-scm.org/D4890
author Pulkit Goyal <pulkit@yandex-team.ru>
date Fri, 05 Oct 2018 22:31:12 +0300
parents a24f4638d6c1
children cf8677cd7286
line wrap: on
line diff
--- a/mercurial/wireprotoserver.py	Fri Oct 05 22:19:19 2018 +0300
+++ b/mercurial/wireprotoserver.py	Fri Oct 05 22:31:12 2018 +0300
@@ -38,9 +38,6 @@
 HGTYPE2 = 'application/mercurial-0.2'
 HGERRTYPE = 'application/hg-error'
 
-NARROWCAP = 'exp-narrow-1'
-ELLIPSESCAP = 'exp-ellipses-1'
-
 SSHV1 = wireprototypes.SSHV1
 SSHV2 = wireprototypes.SSHV2