D5087: help: displaying documented aliases by default

2018-10-23 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG444861dc1e55: help: displaying documented aliases by default (authored by rdamazio, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5087?vs=12256=12318#toc REPOSITORY rHG

D5087: help: displaying documented aliases by default

2018-10-23 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued the series for 4.9, many thanks. > @@ -523,16 +538,20 @@ > > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > > +alias = getattr(func, 'alias', False) Removed unused variable `alias`. > @@ -554,11 +557,14 @@ >

Re: D5087: help: displaying documented aliases by default

2018-10-23 Thread Yuya Nishihara
Queued the series for 4.9, many thanks. > @@ -523,16 +538,20 @@ > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > +alias = getattr(func, 'alias', False) Removed unused variable `alias`. > @@ -554,11 +557,14 @@ > # drop prefix

D5087: help: displaying documented aliases by default

2018-10-18 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12256. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5087?vs=12127=12256 REVISION DETAIL https://phab.mercurial-scm.org/D5087 AFFECTED FILES mercurial/dispatch.py mercurial/help.py mercurial/registrar.py

D5087: help: displaying documented aliases by default

2018-10-18 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio added a comment. In https://phab.mercurial-scm.org/D5087#76401, @yuja wrote: > > @@ -507,16 +522,11 @@ > > > > f = fs[0] > > syns[f] = ', '.join(fs) > > func = e[0] > > > > +alias = getattr(func, 'alias', False) > > > > if select and not

D5087: help: displaying documented aliases by default

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > @@ -507,16 +522,11 @@ > > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > > +alias = getattr(func, 'alias', False) > > if select and not select(f): > continue > > - if (not select and name != 'shortlist' and > -

Re: D5087: help: displaying documented aliases by default

2018-10-14 Thread Yuya Nishihara
> @@ -507,16 +522,11 @@ > f = fs[0] > syns[f] = ', '.join(fs) > func = e[0] > +alias = getattr(func, 'alias', False) > if select and not select(f): > continue > -if (not select and name != 'shortlist' and

D5087: help: displaying documented aliases by default

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12127. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5087?vs=12092=12127 REVISION DETAIL https://phab.mercurial-scm.org/D5087 AFFECTED FILES mercurial/dispatch.py mercurial/help.py mercurial/registrar.py

D5087: help: displaying documented aliases by default

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This makes aliases be displayed in "hg help" when they have a :doc config entry, and also allows them to be assigned to a category with :category. REPOSITORY