diff tests/test-diff-binary-file.t @ 21790:3fbef7ac26f0

diff: add nobinary config to suppress git-style binary diffs
author Stephen Lee <sphen.lee@gmail.com>
date Sat, 21 Jun 2014 15:56:49 +1000
parents f2719b387380
children 0db6810e84e8
line wrap: on
line diff
--- a/tests/test-diff-binary-file.t	Mon Jun 23 13:50:44 2014 -0500
+++ b/tests/test-diff-binary-file.t	Sat Jun 21 15:56:49 2014 +1000
@@ -37,4 +37,8 @@
 
   $ hg diff --git -r 0 -r 2
 
+  $ hg diff --config diff.nobinary=True --git -r 0 -r 1
+  diff --git a/binfile.bin b/binfile.bin
+  Binary file binfile.bin has changed
+
   $ cd ..