[PATCH 7 of 8] exchange: use getchangegroupchunks()

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Aug 5 20:48:33 EDT 2016



On 08/05/2016 05:17 AM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1470364829 25200
> #      Thu Aug 04 19:40:29 2016 -0700
> # Node ID 4c9b71d4c61cf99cd75469bff7d58bf0b2241bdd
> # Parent  0270c4c4c1aef296d0405950a34bdef3aaa01f30
> exchange: use getchangegroupchunks()
>
> changegroup.getlocalchangegroupraw() is a one-liner that calls
> getchangegroupchunks(). exchange.py is the only caller of this
> function. Let's refactor exchange.py to use the new generic API.

small nits, the rename of all cg to chunks here makes this patch much 
more complicated to review than it should be. I would suggest doing the 
two things appart.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list