Mercurial > hg
comparison setup.py @ 37780:8acd3a9ac4fd
wireproto: make version 2 @wireprotocommand an independent function
Previously, the code for this decorator was shared between version 1
and version 2 commands. Very few parts of the function were identical.
So I don't think sharing is justified.
wireprotov2server now has its own @wireprotocommand decorator function.
Because the decorator is no longer shared, code for configuring the
transport policy has been removed. i.e. commands must have separate
implementations for each wire protocol version.
Differential Revision: https://phab.mercurial-scm.org/D3395
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 16 Apr 2018 21:49:59 -0700 |
parents | cfb32979abcd |
children | cd4959c33d1a |
comparison
equal
deleted
inserted
replaced
37779:379d54eae6eb | 37780:8acd3a9ac4fd |
---|