diff tests/test-command-template.t @ 35469:f1c54d003327

templater: move repo, ui and cache to per-engine resources
author Yuya Nishihara <yuya@tcha.org>
date Thu, 21 Dec 2017 22:05:30 +0900
parents 625d5ebce066
children a33be093ec62
line wrap: on
line diff
--- a/tests/test-command-template.t	Thu Dec 21 21:29:06 2017 +0900
+++ b/tests/test-command-template.t	Thu Dec 21 22:05:30 2017 +0900
@@ -204,6 +204,10 @@
   $ hg log -r 'wdir()' -T '{manifest}\n'
   
 
+Internal resources shouldn't be exposed (issue5699):
+
+  $ hg log -r. -T '{cache}{repo}{templ}{ui}'
+
 Quoting for ui.logtemplate
 
   $ hg tip --config "ui.logtemplate={rev}\n"