[PATCH 2 of 2] wireproto: move wireproto capabilities computation in a subfunction

Matt Mackall mpm at selenic.com
Thu Mar 13 16:43:20 CDT 2014


On Thu, 2014-03-13 at 11:48 -0700, pierre-yves.david at ens-lyon.org wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1394660801 25200
> #      Wed Mar 12 14:46:41 2014 -0700
> # Node ID ccf1552655b90cac5157e86fc914a0a33c46ea24
> # Parent  1bfa5d82da6540e6559c3396c692db848ea650f2
> wireproto: move wireproto capabilities computation in a subfunction

>  WIREPROTOCAPS = ['lookup', 'changegroupsubset', 'branchmap', 'pushkey',
>                   'known', 'getbundle', 'unbundlehash', 'batch']

Lowercase this, please. It's not C nor is it a constant.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list