mercurial/templatekw.py
changeset 28538 009f58f1ea75
parent 28270 650c9f69a744
child 28539 119702a8b415
equal deleted inserted replaced
28537:881d027d3935 28538:009f58f1ea75
   572     'rev': showrev,
   572     'rev': showrev,
   573     'subrepos': showsubrepos,
   573     'subrepos': showsubrepos,
   574     'tags': showtags,
   574     'tags': showtags,
   575 }
   575 }
   576 
   576 
       
   577 def loadkeyword(ui, extname, registrarobj):
       
   578     """Load template keyword from specified registrarobj
       
   579     """
       
   580     for name, func in registrarobj._table.iteritems():
       
   581         keywords[name] = func
       
   582 
   577 # tell hggettext to extract docstrings from these functions:
   583 # tell hggettext to extract docstrings from these functions:
   578 i18nfunctions = keywords.values()
   584 i18nfunctions = keywords.values()