changeset 1950:5f581f337b05

hgk "committer:" bug I've been having an hgk problem with this tree: http://xenbits.xensource.com/ext/linux-ppc-2.6.hg, specifically changeset 93c590d23a53. The problem seems to be that the commit message contains a "committer:" line, which triggers a (relatively unused?) case in hgk.py... Both cases need the dates at the end of the line.
author Hollis Blanchard <hollisb@us.ibm.com>
date Wed, 15 Mar 2006 03:19:16 +0100
parents d2c2e77826c0
children 696230e52e4d
files contrib/hgk.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/hgk.py	Wed Mar 15 02:49:45 2006 +0100
+++ b/contrib/hgk.py	Wed Mar 15 03:19:16 2006 +0100
@@ -134,10 +134,10 @@
     if lines[-1].startswith('committer:'):
         committer = lines[-1].split(': ')[1].rstrip()
     else:
-        committer = "%s %s %s" % (changes[1], date, date_ar[1])
+        committer = changes[1]
 
     print "author %s %s %s" % (changes[1], date, date_ar[1])
-    print "committer %s" % (committer)
+    print "committer %s %s %s" % (committer, date, date_ar[1])
     print ""
     if prefix != "":
         print "%s%s" % (prefix, changes[4].replace('\n', nlprefix).strip())