1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
|
grid $win.bu -padx 6 -ipadx 15
grid rowconfigure $win 1 -weight 1
grid columnconfigure $win {0 2} -weight 1
}
method DoDirCompare {} {
$tree configure -leftdirvariable ::dirdiff(leftDir) \
-rightdirvariable ::dirdiff(rightDir)
}
method DoNice {} {
$tree nice $nice
}
|
>
|
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
|
grid $win.bu -padx 6 -ipadx 15
grid rowconfigure $win 1 -weight 1
grid columnconfigure $win {0 2} -weight 1
}
method DoDirCompare {} {
# Reconfiguring the dirdiff widget triggers a rerun
$tree configure -leftdirvariable ::dirdiff(leftDir) \
-rightdirvariable ::dirdiff(rightDir)
}
method DoNice {} {
$tree nice $nice
}
|
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
|
if {[info exists opts(doptrev1)] && $opts(doptrev1) ne ""} {
lappend revs $opts(doptrev1)
}
if {[info exists opts(doptrev2)] && $opts(doptrev2) ne ""} {
lappend revs $opts(doptrev2)
}
if {$::dirdiff(leftDir) eq $::dirdiff(rightDir)} {
set fullname $::dirdiff(leftDir)
set type [detectRevSystem $fullname]
# Is this a revision system with dirdiff support?
if {[info commands eskil::rev::${type}::mount] ne ""} {
# No -r given; fall back on current.
# All vcs with dirdiff support should know that _ means current
if {[llength $revs] == 0} {set revs _}
|
>
>
|
>
|
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
|
if {[info exists opts(doptrev1)] && $opts(doptrev1) ne ""} {
lappend revs $opts(doptrev1)
}
if {[info exists opts(doptrev2)] && $opts(doptrev2) ne ""} {
lappend revs $opts(doptrev2)
}
# TODO: Trigger this on DirDiff, so a rerun can do it, and maybe have rev
# GUI fields
if {$::dirdiff(leftDir) eq $::dirdiff(rightDir) &&
$::dirdiff(leftDir) ne ""} {
set fullname $::dirdiff(leftDir)
set type [detectRevSystem $fullname]
# Is this a revision system with dirdiff support?
if {[info commands eskil::rev::${type}::mount] ne ""} {
# No -r given; fall back on current.
# All vcs with dirdiff support should know that _ means current
if {[llength $revs] == 0} {set revs _}
|