mercurial/hgweb/webcommands.py
changeset 36248 0ef50a5e3ae1
parent 35566 baca93a47992
child 36274 a748a5d1d7c3
equal deleted inserted replaced
36247:48a6b1a22ccf 36248:0ef50a5e3ae1
  1401         topic = topicname
  1401         topic = topicname
  1402         subtopic = None
  1402         subtopic = None
  1403 
  1403 
  1404     try:
  1404     try:
  1405         doc = helpmod.help_(u, commands, topic, subtopic=subtopic)
  1405         doc = helpmod.help_(u, commands, topic, subtopic=subtopic)
  1406     except error.UnknownCommand:
  1406     except error.Abort:
  1407         raise ErrorResponse(HTTP_NOT_FOUND)
  1407         raise ErrorResponse(HTTP_NOT_FOUND)
  1408     return tmpl('help', topic=topicname, doc=doc)
  1408     return tmpl('help', topic=topicname, doc=doc)
  1409 
  1409 
  1410 # tell hggettext to extract docstrings from these functions:
  1410 # tell hggettext to extract docstrings from these functions:
  1411 i18nfunctions = commands.values()
  1411 i18nfunctions = commands.values()