Commits

Brendan Cully  committed c49dc6f

hgk: Don't choke on empty changelogs

  • Participants
  • Parent commits c1974f6

Comments (0)

Files changed (1)

File hgext/hgk.py

     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]