[PATCH 4 of 4] revset: factor out public optimize() function from recursion

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon May 9 09:22:36 EDT 2016


Pushed, thanks

On 05/06/2016 01:21 AM, Sean Farley wrote:
> Yuya Nishihara <yuya at tcha.org> writes:
>
>> # HG changeset patch
>> # User Yuya Nishihara <yuya at tcha.org>
>> # Date 1462158540 -32400
>> #      Mon May 02 12:09:00 2016 +0900
>> # Node ID ab27ea196841de780186db4d25ed7b7e1b42625e
>> # Parent  623d1c438bfe30c0937cb16f7a1873f22e6ae4a0
>> revset: factor out public optimize() function from recursion
>>
>> New optimize() hides internal arguments and return values. This makes it easy
>> to add more parameters and return values to _optimize().
> Sure, looks good to me.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list