Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/mercurial/httppeer.py Fri Apr 13 11:21:55 2018 -0700 +++ b/mercurial/httppeer.py Wed Apr 11 18:15:51 2018 -0700 @@ -672,7 +672,7 @@ # Integer priority for the service. If we could choose from multiple # services, we choose the one with the highest priority. API_PEERS = { - wireprototypes.HTTPV2: { + wireprototypes.HTTP_WIREPROTO_V2: { 'init': httpv2peer, 'priority': 50, },