diff tests/test-command-template.t @ 17631:0b241d7a8c62

templating: make new-style templating features work with command line lists
author Matt Mackall <mpm@selenic.com>
date Fri, 21 Sep 2012 18:54:00 -0500
parents 1fce478552b8
children 9916d104c485
line wrap: on
line diff
--- a/tests/test-command-template.t	Thu Sep 20 23:30:59 2012 -0400
+++ b/tests/test-command-template.t	Fri Sep 21 18:54:00 2012 -0500
@@ -1520,3 +1520,8 @@
   10,test
   branch: test
 
+Test new-style inline templating:
+
+  $ hg log -R latesttag -r tip --template 'modified files: {file_mods % " {file}\n"}\n'
+  modified files:  .hgtags
+