[PATCH 4 of 4] revlog: reuse 'descendant' implemention in 'isancestor'

Martin von Zweigbergk martinvonz at google.com
Mon Jul 2 12:37:44 EDT 2018


On Mon, Jul 2, 2018 at 5:05 AM Yuya Nishihara <yuya at tcha.org> wrote:

> On Sun, 01 Jul 2018 08:38:42 +0200, Paul Morelle wrote:
> > # HG changeset patch
> > # User Boris Feld <boris.feld at octobus.net>
> > # Date 1529622442 -3600
> > #      Fri Jun 22 00:07:22 2018 +0100
> > # Node ID 6bfe8fc36b4e20fcdf6cc49fe9ddb6e79bcf213f
> > # Parent  5ea9c5d20ecc1aac2aecdd4c0902b3cd470b04d5
> > # EXP-Topic descendant
> > # Available At https://bitbucket.org/octobus/mercurial-devel/
> > #              hg pull https://bitbucket.org/octobus/mercurial-devel/
> -r 6bfe8fc36b4e
> > revlog: reuse 'descendant' implemention in 'isancestor'
>
> Queued the series, thanks.
>
> > We should probably cleanup the API at some point to avoid having so many
> similar
> > functions. However, we focus on an efficient implementation for now.
>
> Yeah.
>

Perhaps we should rename "descendant" to "isdescendant" to match
"isancestor" then.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180702/b9f98dfc/attachment.html>


More information about the Mercurial-devel mailing list