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

Unified Diff: sitescripts/hg/bin/irchook.py

Issue 8476005: sitescripts: Pass branch to abpbot (Closed)
Patch Set: Created Sept. 29, 2012, 6:03 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: sitescripts/hg/bin/irchook.py
===================================================================
--- a/sitescripts/hg/bin/irchook.py
+++ b/sitescripts/hg/bin/irchook.py
@@ -5,8 +5,8 @@
def hook(ui, repo, node=None, **kwargs):
ctx = repo[node]
remote = [get_config().get('irchook', 'remote_command'),
- os.path.basename(repo.root), str(ctx.user()), str(ctx),
- str(ctx.description())]
+ os.path.basename(repo.root), str(ctx.branch()), str(ctx.user()),
+ str(ctx), str(ctx.description())]
remote = ' '.join(map(lambda s: pipes.quote(s), remote))
command = ['ssh', get_config().get('irchook', 'remote_host'), remote]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld