[PATCH] parsers: rewrite index_ancestors() in terms of index_commonancestorsheads()

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Feb 3 05:22:11 CST 2015



On 02/03/2015 04:36 AM, Martin von Zweigbergk wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1422050989 28800
> #      Fri Jan 23 14:09:49 2015 -0800
> # Node ID f1f33011080c9158be7d7ac4f3d96e0159453781
> # Parent  8b88870cbd1eeefaee0af053ae36728f8c0a1847
> parsers: rewrite index_ancestors() in terms of index_commonancestorsheads()
>
> The first 80% of index_ancestors() is identical to
> index_commonancestorsheads(), so just call that function instead.

Hooray, less C code.


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list