D3208: wireproto: disallow commands handlers for multiple transport versions

2018-04-11 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3e5e37204b32: wireproto: disallow commands handlers for multiple transport versions (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-s

D3208: wireproto: disallow commands handlers for multiple transport versions

2018-04-10 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 7939. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3208?vs=7912&id=7939 REVISION DETAIL https://phab.mercurial-scm.org/D3208 AFFECTED FILES mercurial/wireproto.py CHANGE DETAILS diff --git a/mercurial/wirepro

D3208: wireproto: disallow commands handlers for multiple transport versions

2018-04-09 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 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 functi