Mercurial > hg
comparison hgweb.cgi @ 37541:3e5e37204b32
wireproto: disallow commands handlers for multiple transport versions
I think it will be more trouble than it is worth to code version 1
and version 2 command handlers to the same interface. It will feel
awkward to shoehorn functionality into e.g. the version 1 protocol
handler interface. This would likely constrain the ability for version
2 to evolve.
Previous commits introduced a clean separation between command handlers
for version 1 and version 2 transports. This commit reinforces that
separation by dropping support for having a single command handler
service both version 1 and version 2 transports.
Differential Revision: https://phab.mercurial-scm.org/D3208
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 09 Apr 2018 11:33:38 -0700 |
parents | 4b0fc75f9403 |
children | 47ef023d0165 |
comparison
equal
deleted
inserted
replaced
37540:693cb3768943 | 37541:3e5e37204b32 |
---|