# HG changeset patch # User Thomas Arendsen Hein # Date 2006-06-30 20:09:43 # Node ID cff57cb5631ee5f9f3fcc6822567aa2525c4f241 # Parent 0ab63318bc36baee1bbbae1f3f695dadf6403572 # Parent c49dc6f38a197d0da8a5a4d9666d30c7e6eb3a3a Merge with crew. diff --git a/hgext/hgk.py b/hgext/hgk.py --- 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]