Show More
@@ -420,7 +420,7 b' class templateformatter(baseformatter):' | |||||
420 |
|
420 | |||
421 | @util.propertycache |
|
421 | @util.propertycache | |
422 | def _symbolsused(self): |
|
422 | def _symbolsused(self): | |
423 |
return self._t.symbolsused |
|
423 | return self._t.symbolsused(self._tref) | |
424 |
|
424 | |||
425 | def contexthint(self, datafields): |
|
425 | def contexthint(self, datafields): | |
426 | '''set of context object keys to be required by the template, given |
|
426 | '''set of context object keys to be required by the template, given |
@@ -80,6 +80,9 b' log-like templating' | |||||
80 |
|
80 | |||
81 | $ hg annotate -T'{lines % "{rev}:{line_number}: {line}"}' a |
|
81 | $ hg annotate -T'{lines % "{rev}:{line_number}: {line}"}' a | |
82 | 0:1: a |
|
82 | 0:1: a | |
|
83 | $ hg annotate -Ta a \ | |||
|
84 | > --config templates.a='"{lines % "{rev}:{line_number}: {line}"}"' | |||
|
85 | 0:1: a | |||
83 |
|
86 | |||
84 | $ cat <<EOF >>a |
|
87 | $ cat <<EOF >>a | |
85 | > a |
|
88 | > a |
General Comments 0
You need to be logged in to leave comments.
Login now