Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 6085aba94ef8dea2884c3d1284f66f2545e52087..aeb938e1614623d8e6eb898da010b59b60aae4f3 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -1495,7 +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 |
+ props = cl.RpcServer().get_issue_properties(cl.GetIssue()) |
+ patch_num = len(props['patchset']) |
+ comment = "Committed patch #%d manually as r%s" % (patch_num, revision) |
M-A Ruel
2013/02/15 22:43:34
s/patch/patchset/
iannucci
2013/02/15 23:09:00
Done.
|
comment += ' (presubmit successful).' if not options.bypass_hooks else '.' |
cl.RpcServer().add_comment(cl.GetIssue(), comment) |
cl.SetIssue(0) |