changeset 2545:cff57cb5631e

Merge with crew.
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 30 Jun 2006 22:09:43 +0200
parents 0ab63318bc36 (current diff) c49dc6f38a19 (diff)
children 8cb894370514
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/hgk.py
+++ b/hgext/hgk.py
@@ -131,7 +131,7 @@ def catcommit(repo, n, prefix, changes=N
     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]