##// END OF EJS Templates
hgk: Don't choke on empty changelogs
Brendan Cully -
r2525:c49dc6f3 default
parent child Browse files
Show More
@@ -131,7 +131,7 b' def catcommit(repo, n, prefix, changes=N'
131 date_ar = changes[2]
131 date_ar = changes[2]
132 date = int(float(date_ar[0]))
132 date = int(float(date_ar[0]))
133 lines = changes[4].splitlines()
133 lines = changes[4].splitlines()
134 if lines[-1].startswith('committer:'):
134 if lines and lines[-1].startswith('committer:'):
135 committer = lines[-1].split(': ')[1].rstrip()
135 committer = lines[-1].split(': ')[1].rstrip()
136 else:
136 else:
137 committer = changes[1]
137 committer = changes[1]
General Comments 0
You need to be logged in to leave comments. Login now