This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1ddd202c47d9: help: allow hiding of help topics (authored
by rdamazio, committed by ).
CHANGED PRIOR TO COMMIT
https://phab.mercurial-scm.org/D5077?vs=12255=12317#toc
REPOSITORY
rHG Mercurial
rdamazio updated this revision to Diff 12255.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5077?vs=12126=12255
REVISION DETAIL
https://phab.mercurial-scm.org/D5077
AFFECTED FILES
mercurial/configitems.py
mercurial/help.py
tests/test-help-hide.t
rdamazio added a comment.
In https://phab.mercurial-scm.org/D5077#76403, @yuja wrote:
> > +def filtertopic(ui, topic):
> > +return ui.configbool('help', 'hide.%s' % topic, False)
>
> Maybe we need a separate namespace (e.g. help.hidden-topic.%s)?
Done.
REPOSITORY
rHG
yuja added a comment.
> +def filtertopic(ui, topic):
> +return ui.configbool('help', 'hide.%s' % topic, False)
Maybe we need a separate namespace (e.g. help.hidden-topic.%s)?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5077
To: rdamazio,
> +def filtertopic(ui, topic):
> +return ui.configbool('help', 'hide.%s' % topic, False)
Maybe we need a separate namespace (e.g. help.hidden-topic.%s)?
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
rdamazio updated this revision to Diff 12126.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5077?vs=12066=12126
REVISION DETAIL
https://phab.mercurial-scm.org/D5077
AFFECTED FILES
mercurial/help.py
tests/test-help-hide.t
CHANGE DETAILS
diff
rdamazio created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5077
AFFECTED FILES
mercurial/help.py
tests/test-help-hide.t
CHANGE DETAILS
diff --git