You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PRESUBMIT.py scripts are executed in presubmit_support.py using exec(). Since PRESUBMIT.py scripts might not be yet compatible with python 3, we have to execute presubmit_support.py using python 2. git_cl.py imports presubmit_support.py, and executes presubmit checks using presubmit_support as a module. This forces git_cl.py to be executed using python 2 to maintain compatibility for PRESUBMIT.py scripts. This change allows git_cl.py to be executed using python 3, while presubmit_support.py is executed using python 2. Similar changes for post-submit hooks and git-cl try masters will follow. Bug: 1042324 Change-Id: Ic3bb1c2985459baf6aa04d0cc65017a1c2578153 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2068945 Reviewed-by: Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> |
6 years ago | |
|---|---|---|
| .. | ||
| gstools | ||
| OWNERS | ||
| auth_test.py | 6 years ago | |
| bot_update_coverage_test.py | 6 years ago | |
| cipd_bootstrap_test.py | 6 years ago | |
| detect_host_arch_test.py | 6 years ago | |
| download_from_google_storage_unittest.py | 6 years ago | |
| fix_encoding_test.py | 6 years ago | |
| gclient_eval_unittest.py | ||
| gclient_paths_test.py | 6 years ago | |
| gclient_scm_test.py | 6 years ago | |
| gclient_smoketest.py | 6 years ago | |
| gclient_test.py | 6 years ago | |
| gclient_utils_test.py | 6 years ago | |
| gerrit_util_test.py | 6 years ago | |
| git_cache_test.py | 6 years ago | |
| git_cl_creds_check_report.txt | ||
| git_cl_test.py | 6 years ago | |
| git_common_test.py | 6 years ago | |
| git_dates_test.py | 6 years ago | |
| git_drover_test.py | 6 years ago | |
| git_footers_test.py | 6 years ago | |
| git_hyper_blame_test.py | 6 years ago | |
| git_map_test.py | 6 years ago | |
| git_number_test.py | 6 years ago | |
| git_rebase_update_test.py | 6 years ago | |
| gsutil_test.py | 6 years ago | |
| metrics_test.py | 6 years ago | |
| my_activity_test.py | 6 years ago | |
| ninjalog_uploader_test.py | ||
| owners_finder_test.py | 6 years ago | |
| owners_unittest.py | 6 years ago | |
| presubmit_unittest.py | 6 years ago | |
| recipes_test.py | ||
| roll_dep_test.py | 6 years ago | |
| scm_unittest.py | 6 years ago | |
| subcommand_test.py | 6 years ago | |
| subprocess2_test.py | 6 years ago | |
| upload_to_google_storage_unittest.py | 6 years ago | |
| watchlists_unittest.py | 6 years ago | |