[PATCH with hgweb] help: use the first topic name from helptable, not the longest alias
patrick at mezard.eu
Wed Aug 1 08:34:42 CDT 2012
Le 01/08/12 15:01, Mads Kiilerich a écrit :
> # HG changeset patch
> # User Mads Kiilerich <mads at kiilerich.com>
> # Date 1343825955 -7200
> # Branch stable
> # Node ID d56a889d60412b940b35cbdb14e7b9c1ee1af62b
> # Parent 91b336ff14b6d6f9b000f8cf60fc88b757822b49
> help: use the first topic name from helptable, not the longest alias
> This makes the 'additional help topics' list consistent with the output from
> keyword search (for instance subrepo/subrepos).
> The sorting by longest name was introduced in 3f6a4f1de43f. There might have
> been a good reason for it back then, but now it seems like a better idea to
> place the preferred name first in the list in helptable.
Looks good. It needs the first patch of your previous series to apply correctly.
More information about the Mercurial-devel