Mercurial > hg
diff contrib/bash_completion @ 17322:7124f984dc8d stable
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.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 01 Aug 2012 14:59:15 +0200 |
parents | 80f3ae36f908 |
children | e49771e2d071 |