273 print ('''I already know of %s - they're in %s - not announcing.''' % |
274 print ('''I already know of %s - they're in %s - not announcing.''' % |
274 (commit['node'], existingrepos)) |
275 (commit['node'], existingrepos)) |
275 continue |
276 continue |
276 |
277 |
277 username = Config.find_developer_by_email (commit['email']) |
278 username = Config.find_developer_by_email (commit['email']) |
278 committer = username if username else commit['author'] |
279 committer = munge (username if username else commit['author']) |
279 descriptor = """commit""" if random.randrange (100) != 0 else """KERMIT""" |
280 descriptor = """commit""" if random.randrange (100) != 0 else """KERMIT""" |
280 |
281 |
281 if not isMergeFromSandbox: |
282 if not isMergeFromSandbox: |
282 commitMessage = """\003%d%s\003: new %s\0035 %s%s\003 by\0032 %s\003: %s""" % \ |
283 commitMessage = """\003%d%s\003: new %s\0035 %s%s\003 by\0032 %s\003: %s""" % \ |
283 (repo.color, repo.name, descriptor, commit['node'], commit['bookmarks'], |
284 (repo.color, repo.name, descriptor, commit['node'], commit['bookmarks'], |