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

Sean Farley sean.michael.farley at gmail.com
Mon Nov 3 12:41:44 CST 2014


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.


More information about the Mercurial-devel mailing list