diff tests/test-grep.t @ 38541:1e25782a7583

grep: add support for log-like template keywords and functions
author Yuya Nishihara <yuya@tcha.org>
date Sun, 01 Jul 2018 22:02:53 +0900
parents 7fbb5d76c555
children 9ef10437bb88
line wrap: on
line diff
--- a/tests/test-grep.t	Sun Jul 01 21:47:43 2018 +0900
+++ b/tests/test-grep.t	Sun Jul 01 22:02:53 2018 +0900
@@ -53,6 +53,11 @@
   port:4:vaportight
   port:4:import/export
 
+  $ hg grep port -T '{file}:{tags}:{texts}\n'
+  port:tip:export
+  port:tip:vaportight
+  port:tip:import/export
+
 simple JSON (no "change" field)
 
   $ hg grep -Tjson port