Merge with crew.
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 30 Jun 2006 22:09:43 +0200
changeset 2545 cff57cb5631e
parent 2544 0ab63318bc36 (current diff)
parent 2525 c49dc6f38a19 (diff)
child 2546 8cb894370514
Merge with crew.
--- a/hgext/hgk.py	Fri Jun 30 21:57:57 2006 +0200
+++ b/hgext/hgk.py	Fri Jun 30 22:09:43 2006 +0200
@@ -131,7 +131,7 @@
     date_ar = changes[2]
     date = int(float(date_ar[0]))
     lines = changes[4].splitlines()
-    if lines[-1].startswith('committer:'):
+    if lines and lines[-1].startswith('committer:'):
         committer = lines[-1].split(': ')[1].rstrip()
     else:
         committer = changes[1]