Mercurial > public > mercurial-scm > hg
diff mercurial/wireprototypes.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 | b099e6032f38 |
children | 30f70d11c224 |
line wrap: on
line diff
--- a/mercurial/wireprototypes.py Fri Oct 05 22:19:19 2018 +0300 +++ b/mercurial/wireprototypes.py Fri Oct 05 22:31:12 2018 +0300 @@ -28,6 +28,9 @@ SSHV2 = 'exp-ssh-v2-0002' HTTP_WIREPROTO_V2 = 'exp-http-v2-0002' +NARROWCAP = 'exp-narrow-1' +ELLIPSESCAP = 'exp-ellipses-1' + # All available wire protocol transports. TRANSPORTS = { SSHV1: {