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

Unified Diff: tests/git_cl_test.py

Issue 1705193003: Use %B format instead of %s\n\n%b to get the raw commit message from a hash. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 10 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
« git_cl.py ('K') | « git_cl.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_cl_test.py
diff --git a/tests/git_cl_test.py b/tests/git_cl_test.py
index 53815f64c9fba0647fbce692fada4e4a8f592a23..4015bb32b811a25e4905c5687c27cfb5723015a8 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -602,7 +602,7 @@ class TestGitCl(TestCase):
if squash:
ref_to_push = 'abcdef0123456789'
calls += [
- ((['git', 'show', '--format=%s\n\n%b', '-s',
+ ((['git', 'show', '--format=%B', '-s',
'refs/heads/git_cl_uploads/master'],),
(description, 0)),
((['git', 'config', 'branch.master.merge'],),
« git_cl.py ('K') | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698