Mercurial > hg
comparison tests/test-git-export.t @ 32840:57c13c0d1cde
formatter: put topic in templatespec tuple
This will allow us to change the initial template reference depending on how
the template is looked up. For example,
-Tdefault => (ref='changeset', tmpl=None, mapfile='map-cmdline.default')
-T'{rev}' => (ref='', tmpl='{rev}', mapfile=None)
A literal template given by -T option will be stored as an unnamed template,
which will free up the template namespace so that we can load named templates
from [templates] section of user config.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 22 Apr 2017 19:07:00 +0900 |
parents | 8b51ec98a326 |
children | 4441705b7111 |
comparison
equal
deleted
inserted
replaced
32839:b425ec7fb7f6 | 32840:57c13c0d1cde |
---|