Commit 27b15a34 authored by rsesek@chromium.org's avatar rsesek@chromium.org

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
parent 671c7a3b
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment