contrib/hgk
changeset 5417 b8872655f951
parent 5395 e73a83af7926
child 5464 7dafd9ab3979
equal deleted inserted replaced
5416:ca890c0c3f1f 5417:b8872655f951
  3706 	}
  3706 	}
  3707     }
  3707     }
  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
  3715 
  3715 
  3716     if {$withparent} {
  3716     if {$withparent} {
  3720     } else {
  3720     } else {
  3721 	if {![info exists selectedline]} return
  3721 	if {![info exists selectedline]} return
  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 }
  3729 
  3729 
  3730 proc showtag {tag isnew} {
  3730 proc showtag {tag isnew} {