--- a/tests/test-diff-binary-file.t Sun Jan 18 15:15:40 2015 -0500
+++ b/tests/test-diff-binary-file.t Sat Jan 17 15:03:41 2015 -0800
@@ -9,6 +9,9 @@
$ hg revert -r 0 binfile.bin
$ hg ci -m 'revert binfile.bin'
+ $ hg cp binfile.bin nonbinfile
+ $ echo text > nonbinfile
+ $ hg ci -m 'make non-binary copy of binary file'
$ hg diff --nodates -r 0 -r 1
diff -r 48b371597640 -r acea2ab458c8 binfile.bin
@@ -41,4 +44,14 @@
diff --git a/binfile.bin b/binfile.bin
Binary file binfile.bin has changed
+ $ hg diff --git -r 2 -r 3
+ diff --git a/binfile.bin b/nonbinfile
+ copy from binfile.bin
+ copy to nonbinfile
+ index 37ba3d1c6f17137d9c5f5776fa040caf5fe73ff9..8e27be7d6154a1f68ea9160ef0e18691d20560dc
+ GIT binary patch
+ literal 5
+ Mc$_OqttjCF00uV!&;S4c
+
+
$ cd ..