tests/test-extdiff.t
changeset 46133 dfe2760db2a6
parent 46131 60677eca7434
child 46134 0a4d47f4337b
--- a/tests/test-extdiff.t	Wed Dec 16 22:16:05 2020 -0800
+++ b/tests/test-extdiff.t	Wed Dec 16 22:30:07 2020 -0800
@@ -73,6 +73,15 @@
   diffing */extdiff.*/a.8a5febb7f867/a a.34eed99112ab/a (glob) (no-windows !)
   [1]
 
+Can show diff from working copy:
+  $ echo c >> a
+  $ hg falabala -r 'wdir()' -r 1
+  diffing "*\\extdiff.*\\a" "a.34eed99112ab\\a" (glob) (windows !)
+  diffing */extdiff.*/a a.34eed99112ab/a (glob) (no-windows !)
+  [1]
+  $ hg revert a
+  $ rm a.orig
+
 Specifying an empty revision should abort.
 
   $ hg extdiff -p diff --patch --rev 'ancestor()' --rev 1