Handle case with no commits between tags.

This commit is contained in:
Heikki Hokkanen 2009-06-18 21:16:38 +03:00
parent 0212bf1ce9
commit bcc832bc49

View File

@ -194,6 +194,8 @@ class GitDataCollector(DataCollector):
if prev != None:
cmd += ' "^%s"' % prev
output = getpipeoutput([cmd])
if len(output) == 0:
continue
prev = tag
for line in output.split('\n'):
parts = re.split('\s+', line, 2)