[PATCH 4 of 7] context.status: call _dirstatestatus() from within _buildstatus()

Martin von Zweigbergk martinvonz at google.com
Mon Nov 3 12:46:02 CST 2014


On Mon Nov 03 2014 at 10:41:46 AM Sean Farley <sean.michael.farley at gmail.com>
wrote:

>
> Martin von Zweigbergk writes:
>
> > # HG changeset patch
> > # User Martin von Zweigbergk <martinvonz at gmail.com>
> > # Date 1413095408 25200
> > #      Sat Oct 11 23:30:08 2014 -0700
> > # Branch stable
> > # Node ID 180d0d685dc5b944b4b28b7e450e21f47397313b
> > # Parent  ada8ab4086be7814622374c04aa5ab6c94deacb2
> > context.status: call _dirstatestatus() from within _buildstatus()
> >
> > By making the call to _dirstatestatus() within _buildstatus(), it
> > becomes clearer that it's called only for the workingctx.
>
> ... but makes it more difficult for child objects to override.
>

Do you mean that it makes it harder to override workingctx._buildstatus()?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20141103/296ee4b9/attachment.html>


More information about the Mercurial-devel mailing list