mercurial/templatekw.py
changeset 17187 293dd81e4601
parent 15947 bdd1ed80e26e
child 17355 c25531ed58b0
child 17357 bd605568c5a0
equal deleted inserted replaced
17186:a3da6f298592 17187:293dd81e4601
   324     'phaseidx': showphaseidx,
   324     'phaseidx': showphaseidx,
   325     'rev': showrev,
   325     'rev': showrev,
   326     'tags': showtags,
   326     'tags': showtags,
   327 }
   327 }
   328 
   328 
       
   329 def _showparents(**args):
       
   330     """:parents: List of strings. The parents of the changeset in "rev:node"
       
   331     format. If the changeset has only one "natural" parent (the predecessor
       
   332     revision) nothing is shown."""
       
   333     pass
       
   334 
       
   335 dockeywords = {
       
   336     'parents': _showparents,
       
   337 }
       
   338 dockeywords.update(keywords)
       
   339 
   329 # tell hggettext to extract docstrings from these functions:
   340 # tell hggettext to extract docstrings from these functions:
   330 i18nfunctions = keywords.values()
   341 i18nfunctions = dockeywords.values()