changeset 5417:b8872655f951

hgk: allow any extdiff command for visual diff
author TK Soh <teekaysoh@yahoo.com>
date Mon, 08 Oct 2007 11:18:34 +0800
parents ca890c0c3f1f
children 9b469bdb1ce1
files contrib/hgk
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/hgk	Sun Oct 07 21:56:36 2007 +0300
+++ b/contrib/hgk	Mon Oct 08 11:18:34 2007 +0800
@@ -3708,7 +3708,7 @@
 }
 
 proc vdiff {withparent} {
-    global env rowmenuid selectedline lineid
+    global env rowmenuid selectedline lineid hgvdiff
 
     if {![info exists rowmenuid]} return
     set curid $rowmenuid
@@ -3722,7 +3722,7 @@
 	set otherid $lineid($selectedline)
     }
     set range "$otherid:$curid"
-    if {[catch {exec $env(HG) --config ui.report_untrusted=false vdiff -r $range} err]} {
+    if {[catch {exec $env(HG) --config ui.report_untrusted=false $hgvdiff -r $range} err]} {
         # Ignore errors, this is just visualization
     }
 }