[PATCH 2 of 2] parsers: simplify the code computing the phases

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed May 27 22:55:11 CDT 2015



On 05/27/2015 05:07 PM, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1432771303 25200
> #      Wed May 27 17:01:43 2015 -0700
> # Node ID 80fd6bb45aae7a3fbb08764732f4399c341c671f
> # Parent  d9625bc762497eef05eb116f69b7f45e6f95b431
> parsers: simplify the code computing the phases
>
> We recently simplified the code computing the heads of a repo. This patch uses
> the same simplification for phase computation. We use index_get_parents instead
> of replicating its code.

This looks fine to me according to the previous series. I've pushed it 
to the clowncopter.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list