comparison mercurial/templatekw.py @ 26436:a2291c9c85a1

templatekw: remove dockeywords hack Now all template keywords are defined as real functions.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 26 Sep 2015 12:39:13 +0900
parents 882b170ae616
children 4628b26f040e
comparison
equal deleted inserted replaced
26435:882b170ae616 26436:a2291c9c85a1
503 'rev': showrev, 503 'rev': showrev,
504 'subrepos': showsubrepos, 504 'subrepos': showsubrepos,
505 'tags': showtags, 505 'tags': showtags,
506 } 506 }
507 507
508 dockeywords = {
509 }
510 dockeywords.update(keywords)
511 del dockeywords['branches']
512
513 # tell hggettext to extract docstrings from these functions: 508 # tell hggettext to extract docstrings from these functions:
514 i18nfunctions = dockeywords.values() 509 i18nfunctions = keywords.values()