##// END OF EJS Templates
hgk: allow any extdiff command for visual diff
TK Soh -
r5417:b8872655 default
parent child Browse files
Show More
@@ -3708,7 +3708,7 b' proc rereadrefs {} {'
3708 }
3708 }
3709
3709
3710 proc vdiff {withparent} {
3710 proc vdiff {withparent} {
3711 global env rowmenuid selectedline lineid
3711 global env rowmenuid selectedline lineid hgvdiff
3712
3712
3713 if {![info exists rowmenuid]} return
3713 if {![info exists rowmenuid]} return
3714 set curid $rowmenuid
3714 set curid $rowmenuid
@@ -3722,7 +3722,7 b' proc vdiff {withparent} {'
3722 set otherid $lineid($selectedline)
3722 set otherid $lineid($selectedline)
3723 }
3723 }
3724 set range "$otherid:$curid"
3724 set range "$otherid:$curid"
3725 if {[catch {exec $env(HG) --config ui.report_untrusted=false vdiff -r $range} err]} {
3725 if {[catch {exec $env(HG) --config ui.report_untrusted=false $hgvdiff -r $range} err]} {
3726 # Ignore errors, this is just visualization
3726 # Ignore errors, this is just visualization
3727 }
3727 }
3728 }
3728 }
General Comments 0
You need to be logged in to leave comments. Login now