Mercurial > hg
comparison mercurial/wireprotoserver.py @ 39934:a24f4638d6c1
narrow: move the ellipses server capability to core
This will be used in core logic to determining whether a server is ellipses
enabled or not. And also this will ease moving narrow related things to core.
Differential Revision: https://phab.mercurial-scm.org/D4809
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sun, 30 Sep 2018 03:45:51 +0530 |
parents | d5498db5f86a |
children | f7011b44d205 |
comparison
equal
deleted
inserted
replaced
39933:d5498db5f86a | 39934:a24f4638d6c1 |
---|---|
37 HGTYPE = 'application/mercurial-0.1' | 37 HGTYPE = 'application/mercurial-0.1' |
38 HGTYPE2 = 'application/mercurial-0.2' | 38 HGTYPE2 = 'application/mercurial-0.2' |
39 HGERRTYPE = 'application/hg-error' | 39 HGERRTYPE = 'application/hg-error' |
40 | 40 |
41 NARROWCAP = 'exp-narrow-1' | 41 NARROWCAP = 'exp-narrow-1' |
42 ELLIPSESCAP = 'exp-ellipses-1' | |
42 | 43 |
43 SSHV1 = wireprototypes.SSHV1 | 44 SSHV1 = wireprototypes.SSHV1 |
44 SSHV2 = wireprototypes.SSHV2 | 45 SSHV2 = wireprototypes.SSHV2 |
45 | 46 |
46 def decodevaluefromheaders(req, headerprefix): | 47 def decodevaluefromheaders(req, headerprefix): |