Patchwork [1,of,9] hgk: drop committer field from the UI

login
register
mail settings
Submitter Andrew Shadura
Date March 10, 2013, 4:24 p.m.
Message ID <e1df8b371fd94d71fb41.1362932682@localhost.localdomain>
Download mbox | patch
Permalink /patch/1099/
State Accepted
Commit c84cc0f3364a34057f9f883672331267b1c354c8
Headers show

Comments

Andrew Shadura - March 10, 2013, 4:24 p.m.
# HG changeset patch
# User Andrew Shadura <bugzilla@tut.by>
# Date 1350392861 -7200
# Node ID e1df8b371fd94d71fb41bfd56a606572e3a1fa52
# Parent  a07be895373394be66ba38b1ff111e26aca03ac8
hgk: drop committer field from the UI

Remove Committer field, it doesn't make sense in Hg.

Patch

diff --git a/contrib/hgk b/contrib/hgk
--- a/contrib/hgk
+++ b/contrib/hgk
@@ -642,7 +642,7 @@  proc makewindow {} {
 			  findtype Exact IgnCase Regexp]
     set findloc "All fields"
     ttk::optionMenu .ctop.top.bar.findloc findloc "All fields" Headline \
-	Comments Author Committer Files Pickaxe
+	Comments Author Files Pickaxe
     pack .ctop.top.bar.findloc -side right
     pack .ctop.top.bar.findtype -side right
     # for making sure type==Exact whenever loc==Pickaxe
@@ -1929,7 +1929,7 @@  proc dofind {} {
 	set oldsel $selectedline
     }
     set didsel 0
-    set fldtypes {Headline Author Date Committer CDate Comment}
+    set fldtypes {Headline Author Date CDate Comment}
     for {set l 0} {$l < $numcommits} {incr l} {
 	set id $lineid($l)
 	set info $commitinfo($id)
@@ -2476,7 +2476,6 @@  proc selectline {l isnew} {
         $ctext insert end "Branch: [lindex $info 7]\n"
     }
     $ctext insert end "Author: [lindex $info 1]  [lindex $info 2]\n"
-    $ctext insert end "Committer: [lindex $info 3]  [lindex $info 4]\n"
     if {[info exists idbookmarks($id)]} {
 	$ctext insert end "Bookmarks:"
 	foreach bookmark $idbookmarks($id) {