-
- match = re_commit.match(what)
- if match:
- date = time.strptime(match.group(1), "%Y-%m-%d %H:%M:%S")
- commit = match.group(2)
- match = re_commithash.search(commit);
- if match:
- commithash = match.group(1)
- else:
- commithash = None
- date2commit[dateConv(date)] = commithash
- commit2msg[commithash] = commit
-