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

Unified Diff: tests/git_cl_test.py

Issue 1584703005: Add a setting to squash Gerrit uploads by default, and a --no-squash command line option to overrid… (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: x Created 4 years, 11 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 | « 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 220e59164385ab2d8774de787cae2cc9450c9e19..b5e14dcc8fb6de11f43bae759fbcd3ec77a2e88a 100755
--- a/tests/git_cl_test.py
+++ b/tests/git_cl_test.py
@@ -585,6 +585,7 @@ class TestGitCl(TestCase):
def _gerrit_upload_calls(description, reviewers, squash,
expected_upstream_ref='origin/refs/heads/master'):
calls = [
+ ((['git', 'config', '--bool', 'gerrit.squash-uploads'],), 'false'),
((['git', 'log', '--pretty=format:%s\n\n%b',
'fake_ancestor_sha..HEAD'],),
description)
« no previous file with comments | « git_cl.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698