[PATCH 1 of 2 STABLE] hgweb: do not show "descending" link in followlines UI for filelog heads

Sean Farley sean at farley.io
Mon Apr 24 12:53:42 EDT 2017


Denis Laxalde <denis at laxalde.org> writes:

> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1493022735 -7200
> #      Mon Apr 24 10:32:15 2017 +0200
> # Branch stable
> # Node ID 713eaf91eb7e80d954de1b3a8b3963e5367e1a9b
> # Parent  40cf693fc07d846502f9c15a1602880ca99d7b56
> # Available At http://hg.logilab.org/users/dlaxalde/hg
> #              hg pull http://hg.logilab.org/users/dlaxalde/hg -r 713eaf91eb7e
> hgweb: do not show "descending" link in followlines UI for filelog heads
>
> When on a filelog head, we are certain that there will be no descendant so the
> target of the "descending" link will lead to an empty log result. Do not
> display the link in this case.

I think this is fine (I'm guessing the 'filerev in headsrevs' check is
not a big hit).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170424/8bbbd380/attachment.sig>


More information about the Mercurial-devel mailing list