diff tests/test-status.t @ 38546:85e3aa21bcdc

status: add support for log-like template keywords and functions It's bound to ctx2 since "hg status" can be considered to show the status of the files at ctx2 given ctx1 as the base.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 01 Jul 2018 22:18:46 +0900
parents 6acf41bb8d40
children fe3ca1e6f786
line wrap: on
line diff
--- a/tests/test-status.t	Sun Jul 01 22:11:23 2018 +0900
+++ b/tests/test-status.t	Sun Jul 01 22:18:46 2018 +0900
@@ -213,6 +213,16 @@
   C .hgignore
   C modified
 
+  $ hg status -A -T '{status} {path} {node|shortest}\n'
+  A added ffff
+  A copied ffff
+  R removed ffff
+  ! deleted ffff
+  ? unknown ffff
+  I ignored ffff
+  C .hgignore ffff
+  C modified ffff
+
   $ hg status -A -Tjson
   [
    {