comparison mercurial/httppeer.py @ 37644:77c9ee77687c

wireproto: rename HTTPV2 so it less like HTTP/2 Per review suggestion on D3230 from Augie. Differential Revision: https://phab.mercurial-scm.org/D3295
author Gregory Szorc <gregory.szorc@gmail.com>
date Wed, 11 Apr 2018 18:15:51 -0700
parents a81d02ea65db
children 950294e28136
comparison
equal deleted inserted replaced
37643:1aa4d646d0de 37644:77c9ee77687c
670 # 670 #
671 # priority 671 # priority
672 # Integer priority for the service. If we could choose from multiple 672 # Integer priority for the service. If we could choose from multiple
673 # services, we choose the one with the highest priority. 673 # services, we choose the one with the highest priority.
674 API_PEERS = { 674 API_PEERS = {
675 wireprototypes.HTTPV2: { 675 wireprototypes.HTTP_WIREPROTO_V2: {
676 'init': httpv2peer, 676 'init': httpv2peer,
677 'priority': 50, 677 'priority': 50,
678 }, 678 },
679 } 679 }
680 680