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

Unified Diff: gcl.py

Issue 125079: Fix gcl presubmit usage. (Closed)
Patch Set: Created 11 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcl.py
diff --git a/gcl.py b/gcl.py
index 59c37a12158ca17d31bf7857a9ea33ebd5052201..09f6b7b3b2a1171835162357ac862906b1db7b51 100755
--- a/gcl.py
+++ b/gcl.py
@@ -1064,7 +1064,13 @@ def DoPresubmitChecks(change_info, committing, may_prompt):
# Need to import here to avoid circular dependency.
import presubmit_support
root_presubmit = GetCachedFile('PRESUBMIT.py', use_root=True)
- result = presubmit_support.DoPresubmitChecks(change_info=change_info,
+ change = presubmit_support.SvnChange(change_info.name,
+ change_info.description,
+ change_info.GetLocalRoot(),
+ change_info.GetFiles(),
+ change_info.issue,
+ change_info.patchset)
+ result = presubmit_support.DoPresubmitChecks(change=change,
committing=committing,
verbose=False,
output_stream=sys.stdout,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698