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.
As it is right now, when a function is collecting metrics it prints the notice and calls sys.exit() to ensure the notice is the last thing that is printed. git-cl split has to call git-cl upload multiple times, but once it has been called once, it exits, so only the first cl is uploaded. This separates metrics collection from notice printing, so that the function that is collecting metrics behaves like a function that isn't. It also makes sure we don't collect metrics for multiple functions at the same time. Bug: 868280 Change-Id: Ic58ebe7d19e09ed85fa8b0af76dcbf608ee4c9bc Reviewed-on: https://chromium-review.googlesource.com/1153503 Reviewed-by: Aaron Gable <agable@chromium.org> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> |
7 years ago | |
---|---|---|
.. | ||
gstools | 12 years ago | |
auth_test.py | 7 years ago | |
bot_update_coverage_test.py | 7 years ago | |
checkout_test.py | 8 years ago | |
cipd_bootstrap_test.py | 7 years ago | |
download_from_google_storage_unittest.py | 7 years ago | |
fix_encoding_test.py | 14 years ago | |
gclient_eval_unittest.py | 7 years ago | |
gclient_scm_test.py | 7 years ago | |
gclient_smoketest.py | 7 years ago | |
gclient_test.py | 7 years ago | |
gclient_utils_test.py | 8 years ago | |
git_cache_test.py | 7 years ago | |
git_cl_creds_check_report.txt | 8 years ago | |
git_cl_test.py | 7 years ago | |
git_common_test.py | 7 years ago | |
git_dates_test.py | 9 years ago | |
git_drover_test.py | 7 years ago | |
git_footers_test.py | 7 years ago | |
git_hyper_blame_test.py | 7 years ago | |
git_number_test.py | 10 years ago | |
git_rebase_update_test.py | 10 years ago | |
gsutil_test.py | 8 years ago | |
metrics_test.py | 7 years ago | |
owners_finder_test.py | 7 years ago | |
owners_unittest.py | 7 years ago | |
patch_test.py | 13 years ago | |
presubmit_unittest.py | 7 years ago | |
recipes_test.py | 8 years ago | |
roll_dep_test.py | 7 years ago | |
scm_unittest.py | 7 years ago | |
subprocess2_test.py | 8 years ago | |
upload_to_google_storage_unittest.py | 8 years ago | |
watchlists_unittest.py | 8 years ago |