mercurial/commands.py
changeset 9540 cad36e496640
parent 9537 460e410c39be
child 9569 ceb0f59e1327
equal deleted inserted replaced
9539:c904e76e3834 9540:cad36e496640
  1546             doc = _("(no help text available)")
  1546             doc = _("(no help text available)")
  1547         if hasattr(doc, '__call__'):
  1547         if hasattr(doc, '__call__'):
  1548             doc = doc()
  1548             doc = doc()
  1549 
  1549 
  1550         ui.write("%s\n\n" % header)
  1550         ui.write("%s\n\n" % header)
  1551         ui.write("%s\n" % minirst.format(doc, textwidth))
  1551         ui.write("%s\n" % minirst.format(doc, textwidth, indent=4))
  1552 
  1552 
  1553     def helpext(name):
  1553     def helpext(name):
  1554         try:
  1554         try:
  1555             mod = extensions.find(name)
  1555             mod = extensions.find(name)
  1556         except KeyError:
  1556         except KeyError: