Mercurial > hg-stable
diff contrib/hgk @ 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 | e73a83af7926 |
children | 7dafd9ab3979 |
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 } }