hgk: allow any extdiff command for visual diff
authorTK Soh <teekaysoh@yahoo.com>
Mon, 08 Oct 2007 11:18:34 +0800
changeset 5417 b8872655f951
parent 5416 ca890c0c3f1f
child 5418 9b469bdb1ce1
hgk: allow any extdiff command for visual diff
contrib/hgk
--- a/contrib/hgk
+++ b/contrib/hgk
@@ -3708,7 +3708,7 @@ proc rereadrefs {} {
 }
 
 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 @@ proc vdiff {withparent} {
 	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
     }
 }