[PATCH 09 of 19] context: add a no-op _prestatus method

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu May 15 22:53:52 CDT 2014



On 05/15/2014 05:35 PM, Sean Farley wrote:
> Later on we need to decide what to do with workingctx.status(memctx)
> because currently we will end up here:
>
> r = [[], [], [], [], [], [], []]
> match = ctx2._matchstatus(ctx1, r, match, ...)
> r = ctx2._prestatus(ctx1, r, match, ...)
> r = ctx2._generatestatus(ctx1, r, match, ...)
> r = ctx2._poststatus(ctx1, r, match, ...)
>
> This works perfectly well for workingctx with changectx but is maybe too
> fragile for memctx. Should we be calling it like this:
>
> r = ctx1._prestatus(ctx1, r, match, ...)
> r = ctx2._prestatus(ctx2, r, match, ...)
>
> ?

Later is later, lets move on the current series.


-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list