[PATCH 3 of 4] hgweb: add ancestors blame info in annotate hgweb template

Denis Laxalde denis.laxalde at logilab.fr
Thu Jun 9 08:26:56 EDT 2016


Yuya Nishihara a écrit :
> On Mon, 06 Jun 2016 10:03:19 +0200, Denis Laxalde wrote:
>> # HG changeset patch
>> # User Denis Laxalde <denis.laxalde at logilab.fr>
>> # Date 1464943305 -7200
>> #      Fri Jun 03 10:41:45 2016 +0200
>> # Node ID ecadc1da55f84fd77110ca23341e12949110d46c
>> # Parent  632a34ed3b63420e1444cb4c3a09a0692b274615
>> hgweb: add ancestors blame info in annotate hgweb template
>>
>> In gitweb style, display this ancestors information in a new column on the
>> left of the revision's one.
>
> I know it is useful to navigate to the parent revision, but this seems a bit
> verbose. The parent revision has no relation to the line where it is displayed.

That's true. For the record, I'm trying to address item "hgweb links to 
ancestor's blame" of https://www.mercurial-scm.org/wiki/BlamePlan. (Cc 
Gregory would originally wrote this plan.)

In fact, I later realized that there already was a link to parent's 
annotate view in the header section of the gitweb template that serves 
quite the same purpose. So to avoid "cluttering" the interface, maybe we 
could suggest a 2-steps navigation:
1) click on some link in the first column of the annotate view, leading 
the annotate view at this revision, then,
2) navigate to parent(s) annotate view from the header of the page.

What do you think?


PS.: discarding this patch for now.


More information about the Mercurial-devel mailing list