Do not put an 'r' in front of the revision when commenting on Rietveld after committing.

When using `git cl land` this would result in r<hash>, which is not desirable.

R=maruel@chromium.org

Review URL: https://codereview.chromium.org/432023003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@286931 0039d316-1c4b-4281-b951-d872f2087c98
changes/01/332501/1
rsesek@chromium.org 11 years ago
parent 671c7a3b9d
commit 27b15a3447

@ -2033,7 +2033,7 @@ def SendUpstream(parser, args, cmd):
cl.CloseIssue()
props = cl.GetIssueProperties()
patch_num = len(props['patchsets'])
comment = "Committed patchset #%d manually as r%s" % (patch_num, revision)
comment = "Committed patchset #%d manually as %s" % (patch_num, revision)
if options.bypass_hooks:
comment += ' (tree was closed).' if GetTreeStatus() == 'closed' else '.'
else:

Loading…
Cancel
Save