# HG changeset patch # User Hollis Blanchard # Date 1142389156 -3600 # Node ID 5f581f337b05b505353c13a0f15b9dc307826aa6 # Parent d2c2e77826c0113e1c9970b49e3f1cee3c17f040 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. diff -r d2c2e77826c0 -r 5f581f337b05 contrib/hgk.py --- 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())