[PATCH 1 of 6] changegroup: expose list of changesets from getsubsetraw

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon May 25 23:32:03 CDT 2015



On 05/25/2015 05:42 PM, Gregory Szorc wrote:
> # HG changeset patch
> # User Gregory Szorc <gregory.szorc at gmail.com>
> # Date 1432589936 25200
> #      Mon May 25 14:38:56 2015 -0700
> # Node ID ea28b7239085bbc7d561ab6aa6f86bdc19f77a25
> # Parent  605b1d32c1c011d56233f28923ee5354fce7e426
> changegroup: expose list of changesets from getsubsetraw
>
> Currently, when generating changegroups, it is possible for the caller
> to not know exactly what data is inside without parsing the returned
> data stream. This is inefficient and adds complexity.
>
> Return the list of changesets from getsubsetraw to make this data
> more widely available.

I'm confused. This very data is -provided- to the function. It is in 
`outgoing.missing`. Why would we need to return it?

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list