comparison tests/test-command-template.t @ 38427:4b73f316ba0e

templatefuncs: minimize resource requirements
author Yuya Nishihara <yuya@tcha.org>
date Thu, 14 Jun 2018 21:17:56 +0900
parents d4fae9a0ab1f
children ddce7bdf7f3c
comparison
equal deleted inserted replaced
38426:00368bc0a614 38427:4b73f316ba0e
227 $ hg log -r. -T '{cache}{ctx}{repo}{revcache}{templ}{ui}' 227 $ hg log -r. -T '{cache}{ctx}{repo}{revcache}{templ}{ui}'
228 228
229 Never crash on internal resource not available: 229 Never crash on internal resource not available:
230 230
231 $ hg --cwd .. debugtemplate '{"c0bebeef"|shortest}\n' 231 $ hg --cwd .. debugtemplate '{"c0bebeef"|shortest}\n'
232 abort: template resource not available: ctx 232 abort: template resource not available: repo
233 [255] 233 [255]
234 234
235 $ hg config -T '{author}' 235 $ hg config -T '{author}'
236 236
237 Quoting for ui.logtemplate 237 Quoting for ui.logtemplate