[PATCH 3 of 3] commands: inline definition of localrepo.parents() and drop the method

Yuya Nishihara yuya at tcha.org
Wed Dec 2 06:42:08 CST 2015


On Tue, 01 Dec 2015 12:20:35 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie at google.com>
> # Date 1447290435 18000
> #      Wed Nov 11 20:07:15 2015 -0500
> # Node ID e1bc3626fe140f5e32b88f931577a8426425a747
> # Parent  c35c8a27f30f9406e9b0dbda47d294106e029429
> commands: inline definition of localrepo.parents() and drop the method
> 
> localrepo.parents() has relatively few users, and most of those were
> actually implicitly looking at the wctx, which is now made explicit
> via repo[None].

Really nice. Flagged this as (API) and pushed the series to the clowncopter.


More information about the Mercurial-devel mailing list