Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: git_cl.py

Issue 12047089: Make gcl commit/git cl dcommit append a commit notification to rietveld. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Pull AddComment from git_cl.py Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcl.py ('k') | tests/gcl_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index aba28f6746c3e40a95a1e674156f8ce3982c02c1..6085aba94ef8dea2884c3d1284f66f2545e52087 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1495,6 +1495,9 @@ def SendUpstream(parser, args, cmd):
print ('Closing issue '
'(you may be prompted for your codereview password)...')
cl.CloseIssue()
+ comment = "Committed manually as r%s" % revision
+ comment += ' (presubmit successful).' if not options.bypass_hooks else '.'
+ cl.RpcServer().add_comment(cl.GetIssue(), comment)
cl.SetIssue(0)
if retcode == 0:
« no previous file with comments | « gcl.py ('k') | tests/gcl_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698