diff tests/test-template-functions.t @ 43051:da3329fe01e3

templatefuncs: account for user's diffopts in diff() (BC)
author Denis Laxalde <denis@laxalde.org>
date Sat, 05 Oct 2019 12:03:19 +0200
parents 34a46d48d24e
children 0fd9e7a1cf36
line wrap: on
line diff
--- a/tests/test-template-functions.t	Sat Oct 05 09:57:00 2019 -0400
+++ b/tests/test-template-functions.t	Sat Oct 05 12:03:19 2019 +0200
@@ -370,6 +370,17 @@
   @@ -0,0 +1,1 @@
   +second
 
+  $ hg --config diff.git=true log -r 8 -T "{diff()}"
+  diff --git a/second b/fourth
+  rename from second
+  rename to fourth
+  diff --git a/third b/third
+  new file mode 100644
+  --- /dev/null
+  +++ b/third
+  @@ -0,0 +1,1 @@
+  +third
+
   $ cd ..
 
 latesttag() function: