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, |