[PATCH 5 of 5] phases: retractboundary should update all affected phases

Durham Goode durham at fb.com
Tue Oct 14 01:55:03 UTC 2014


On 10/9/14 12:22 PM, Durham Goode wrote:
> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1412707733 25200
> #      Tue Oct 07 11:48:53 2014 -0700
> # Node ID be5f4f8f38440da11821946ae84abfb199190656
> # Parent  80710688335b3e647bbf74700cb6e1a464b909b2
> phases: retractboundary should update all affected phases
>
> Previously retractboundary only updated the roots for the phase it was changing.
> This meant there might be other roots in other phases that were now incorrect.
> It just happened to work fine, because the old algorithms allowed future phases
> to overwrite the results of earlier phases.  The upcoming new phase algorithm
> requires the roots to be correct, so this patch fixes up all roots affected by
> the boundary retracting.
Pierre-Yves and I think this series (and the subsequent two that will 
use it) are probably too risky to get in right before the freeze.  We'll 
try to deploy them internally to get an idea of performance cost, then 
get them upstream after the freeze.



More information about the Mercurial-devel mailing list