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

Unified Diff: git_cl.py

Issue 513763002: Add the patchset id to the manual commit messages (Closed) Base URL: http://src.chromium.org/svn/trunk/tools/depot_tools/
Patch Set: Clean up Created 6 years, 4 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
===================================================================
--- git_cl.py (revision 291679)
+++ git_cl.py (working copy)
@@ -2053,8 +2053,8 @@
cl.CloseIssue()
props = cl.GetIssueProperties()
patch_num = len(props['patchsets'])
- comment = "Committed patchset #%d%s manually as %s" % (
- patch_num, to_pending, revision)
+ comment = "Committed patchset #%d (id:%d)%s manually as %s" % (
+ patch_num, props['patchsets'][-1], to_pending, revision)
if options.bypass_hooks:
comment += ' (tree was closed).' if GetTreeStatus() == 'closed' else '.'
else:
« 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