diff -r 98347af64593 -r b623e323c561 mercurial/help.py --- a/mercurial/help.py Thu Oct 18 23:55:15 2012 -0500 +++ b/mercurial/help.py Thu Oct 18 10:31:15 2012 +0900 @@ -61,6 +61,11 @@ return ''.join(rst) +def indicateomitted(rst, omitted, notomitted=None): + rst.append('\n\n.. container:: omitted\n\n %s\n\n' % omitted) + if notomitted: + rst.append('\n\n.. container:: notomitted\n\n %s\n\n' % notomitted) + def topicmatch(kw): """Return help topics matching kw.