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

Gregory Szorc gregory.szorc at gmail.com
Mon Apr 24 14:01:50 EDT 2017


On Mon, Apr 24, 2017 at 9:53 AM, Sean Farley <sean at farley.io> wrote:

> 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).
>

We've been bit by that in the past since it is a list. But for a single
lookup, I think it will be fine.


>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170424/6511454e/attachment.html>


More information about the Mercurial-devel mailing list