D5076: help: allow commands to be hidden

2018-10-23 Thread rdamazio (Rodrigo Damazio Bovendorp)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGab09e797fbed: help: allow commands to be hidden (authored by rdamazio, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5076?vs=12254=12316

D5076: help: allow commands to be hidden

2018-10-18 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio added a comment. In https://phab.mercurial-scm.org/D5076#76405, @yuja wrote: > > +if ui.configbool('help', 'hide.%s' % cmd): > > +return True > > Nit: "hidden" or "hidden-command" seems better. Done. REPOSITORY rHG Mercurial REVISION DETAIL

D5076: help: allow commands to be hidden

2018-10-14 Thread yuja (Yuya Nishihara)
yuja added a comment. > +if ui.configbool('help', 'hide.%s' % cmd): > +return True Nit: "hidden" or "hidden-command" seems better. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5076 To: rdamazio, #hg-reviewers Cc: yuja, mercurial-devel

Re: D5076: help: allow commands to be hidden

2018-10-14 Thread Yuya Nishihara
> +if ui.configbool('help', 'hide.%s' % cmd): > +return True Nit: "hidden" or "hidden-command" seems better. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

D5076: help: allow commands to be hidden

2018-10-14 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12125. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5076?vs=12065=12125 REVISION DETAIL https://phab.mercurial-scm.org/D5076 AFFECTED FILES mercurial/configitems.py mercurial/help.py tests/test-help-hide.t

D5076: help: allow commands to be hidden

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 is useful in enterprise environments where some workflows are discouraged. REPOSITORY rHG Mercurial REVISION DETAIL