annotate mercurial/templates/raw/index.tmpl @ 25563:69e8384a436c

fancyopts: allow all callable as default parameter value The current fancyopts allows function as default parameter value but not other callables. By supporting other callables, we can have the benefits of e.g., custom __str__ method, which will be printed by 'hg help' as the default value.
author introom <i@introo.me>
date Thu, 11 Jun 2015 08:54:24 -0400
parents f91e5630ce7e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8429
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 4024
diff changeset
1 {header}
4bf90ee588b9 raw: use newer template syntax everywhere
Dirkjan Ochtman <dirkjan@ochtman.nl>
parents: 4024
diff changeset
2 {entries%indexentry}