This is an archive of the discontinued Mercurial Phabricator instance.

help: allow containers to be gated by configs
AbandonedPublic

Authored by quark on Aug 29 2017, 8:05 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

Previously, .. container:: verbose and platform-dependent names like
windows, plan9 could be used to make conditional help text. This patch
adds the special config:section.name=(true|false) syntax so we can also
control help output by using configs.

This could be useful for documenting experimental features.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

quark created this revision.Aug 29 2017, 8:05 PM
quark updated this revision to Diff 1423.Aug 29 2017, 10:44 PM
quark abandoned this revision.Aug 30 2017, 3:59 PM

Hopefully this is not needed.