[PATCH 3 of 3] revset: move lookup of first ancestor() candidate out of the loop

Martin von Zweigbergk martinvonz at google.com
Thu Jun 28 22:48:59 UTC 2018


On Thu, Jun 28, 2018 at 6:43 AM Yuya Nishihara <yuya at tcha.org> wrote:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1529159200 -32400
> #      Sat Jun 16 23:26:40 2018 +0900
> # Node ID 0005175b53bb3f829578757c1c34eab60c7c42a8
> # Parent  fe4560fa5db2f1ee11cff233c55b7685e891517a
> revset: move lookup of first ancestor() candidate out of the loop
>

Queuing this series, thanks.

What's the motivation for this patch? Does it make some case faster or did
you just not like the condition inside the loop?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180628/cef6a916/attachment-0002.html>


More information about the Mercurial-devel mailing list