Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: beanbot-client.py

Issue 8483004: abpbot: Send each commit's branch to IRC (Closed)
Patch Set: Created Sept. 29, 2012, 6:06 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: beanbot-client.py
===================================================================
--- a/beanbot-client.py
+++ b/beanbot-client.py
@@ -13,7 +13,7 @@
IRC_LIME = '\x039'
IRC_BLUE = '\x0312'
- repo, author, rev, description = sys.argv[1:5]
+ repo, branch, author, rev, description = sys.argv[1:6]
match = re.search(r'^\s*(.*?)\s*<.*>\s*$', author)
if match:
@@ -21,6 +21,7 @@
data = (
"%(IRC_RED)s%(repo)s "
+ "%(IRC_LIME)s%(branch)s "
Wladimir Palant 2012/10/01 11:23:42 Better not to use too many colors. How about [%(br
Felix Dahlke 2012/10/02 05:39:26 Done.
"%(IRC_NORMAL)s%(IRC_BOLD)s%(author)s "
"%(IRC_NORMAL)s%(IRC_ULINE)s%(rev)s%(IRC_NORMAL)s "
"%(description)s" % locals()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld