(repo)
| 82 | |
| 83 | |
| 84 | def _extract_msg(repo): |
| 85 | cf = io.open(_commit_file(repo), mode='r', encoding=ENCODING) |
| 86 | sep = pprint.SEP + '\n' |
| 87 | msg = '' |
| 88 | l = cf.readline() |
| 89 | while l != sep and len(l) > 0: |
| 90 | msg += l |
| 91 | l = cf.readline() |
| 92 | # We reached the separator, this marks the end of the commit msg |
| 93 | |
| 94 | return msg |
| 95 | |
| 96 | |
| 97 | def _commit_file(repo): |