Mercurial > hg
comparison contrib/hgk @ 18801:c84cc0f3364a
hgk: drop committer field from the UI
Remove Committer field, it doesn't make sense in Hg.
author | Andrew Shadura <bugzilla@tut.by> |
---|---|
date | Tue, 16 Oct 2012 15:07:41 +0200 |
parents | 7365d031d457 |
children | 814498f80d7d |
comparison
equal
deleted
inserted
replaced
18800:a624210e4866 | 18801:c84cc0f3364a |
---|---|
640 set findtype Exact | 640 set findtype Exact |
641 set findtypemenu [ttk::optionMenu .ctop.top.bar.findtype \ | 641 set findtypemenu [ttk::optionMenu .ctop.top.bar.findtype \ |
642 findtype Exact IgnCase Regexp] | 642 findtype Exact IgnCase Regexp] |
643 set findloc "All fields" | 643 set findloc "All fields" |
644 ttk::optionMenu .ctop.top.bar.findloc findloc "All fields" Headline \ | 644 ttk::optionMenu .ctop.top.bar.findloc findloc "All fields" Headline \ |
645 Comments Author Committer Files Pickaxe | 645 Comments Author Files Pickaxe |
646 pack .ctop.top.bar.findloc -side right | 646 pack .ctop.top.bar.findloc -side right |
647 pack .ctop.top.bar.findtype -side right | 647 pack .ctop.top.bar.findtype -side right |
648 # for making sure type==Exact whenever loc==Pickaxe | 648 # for making sure type==Exact whenever loc==Pickaxe |
649 trace add variable findloc write findlocchange | 649 trace add variable findloc write findlocchange |
650 | 650 |
1927 set oldsel -1 | 1927 set oldsel -1 |
1928 } else { | 1928 } else { |
1929 set oldsel $selectedline | 1929 set oldsel $selectedline |
1930 } | 1930 } |
1931 set didsel 0 | 1931 set didsel 0 |
1932 set fldtypes {Headline Author Date Committer CDate Comment} | 1932 set fldtypes {Headline Author Date CDate Comment} |
1933 for {set l 0} {$l < $numcommits} {incr l} { | 1933 for {set l 0} {$l < $numcommits} {incr l} { |
1934 set id $lineid($l) | 1934 set id $lineid($l) |
1935 set info $commitinfo($id) | 1935 set info $commitinfo($id) |
1936 set doesmatch 0 | 1936 set doesmatch 0 |
1937 foreach f $info ty $fldtypes { | 1937 foreach f $info ty $fldtypes { |
2474 $ctext insert end "Revision: [lindex $info 6]\n" | 2474 $ctext insert end "Revision: [lindex $info 6]\n" |
2475 if {[llength [lindex $info 7]] > 0} { | 2475 if {[llength [lindex $info 7]] > 0} { |
2476 $ctext insert end "Branch: [lindex $info 7]\n" | 2476 $ctext insert end "Branch: [lindex $info 7]\n" |
2477 } | 2477 } |
2478 $ctext insert end "Author: [lindex $info 1] [lindex $info 2]\n" | 2478 $ctext insert end "Author: [lindex $info 1] [lindex $info 2]\n" |
2479 $ctext insert end "Committer: [lindex $info 3] [lindex $info 4]\n" | |
2480 if {[info exists idbookmarks($id)]} { | 2479 if {[info exists idbookmarks($id)]} { |
2481 $ctext insert end "Bookmarks:" | 2480 $ctext insert end "Bookmarks:" |
2482 foreach bookmark $idbookmarks($id) { | 2481 foreach bookmark $idbookmarks($id) { |
2483 $ctext insert end " $bookmark" | 2482 $ctext insert end " $bookmark" |
2484 } | 2483 } |