git cl set-commit: fix for Rietveld if cq dry run is active.
If dry-run was active, git cl set-commit didn't actually trigger a
full CQ run, but was just a no-op.
TBR=machenbach@chromium.org
BUG=
Review-Url: https://codereview.chromium.org/2184643004
diff --git a/git_cl.py b/git_cl.py
index 6a59cda..1e2261c 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1799,7 +1799,7 @@
DieWithError('Cannot set-commit on private issue')
if new_state == _CQState.COMMIT:
- self.SetFlag('commit', '1')
+ self.SetFlags({'commit': '1', 'cq_dry_run': '0'})
elif new_state == _CQState.NONE:
self.SetFlags({'commit': '0', 'cq_dry_run': '0'})
else: