changeset 33:9c6716c4809b

Add a "hg imdiff" command for diffing images using ImageMagick
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Jul 2016 11:21:35 +0100
parents d273d6e1fd61
children fef6a877a28b
files hgrc
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgrc	Sat Jul 02 20:16:50 2016 +0100
+++ b/hgrc	Sat Jul 09 11:21:35 2016 +0100
@@ -24,6 +24,9 @@
 
 [extdiff]
 cmd.meld = meld
+# Image diffing
+cmd.imdiff = sh  
+opts.imdiff = -c 'compare $0 $1 compared.png; display compared.png'
 
 %include ~/.hgrc-certs