D1998: wireproto: define and use types for wire protocol commands

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Wed Feb 7 17:26:13 EST 2018


indygreg added a comment.


  In https://phab.mercurial-scm.org/D1998#34740, @durin42 wrote:
  
  > I'm curious what registrations you need that don't fit in 2-tuples. Can I see a sample of where that's going?
  
  
  I'll be adding additional attributes to `@wireprotocommand` in future series. One thing I know I'll add is a mechanism to limit which wire protocol versions/transports to expose a command to. This will prevent legacy commands from being exposed to modern protocols and vice versa.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1998

To: indygreg, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list